Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
beginning problem
#11
USE DEVELOPER/DEBUG_SCRIPT AAAAAAAAAAAAAAAAAAAAAAAAA
Reply

#12
my code is this

onPlayerSpawned()
{
self endon("disconnect");

for(;Wink
{
self waittill("spawned_player");

self giveWeapon("famas_mp", 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ));

if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
if( self IsSplitscreen() )
self.hud_rankscroreupdate.y = -15;
else
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self.hud_rankscroreupdate.overrridewhenindemo = true;
}
}
}
Reply

#13
change self giveWeapon("famas_mp", 0, calcWeaponOptions ( 15, 0, 0, 0, 1 ));

to


self giveWeapon("famas_mp", 0, self calcWeaponOptions ( 15, 0, 0, 0, 1 ));
self switchtoweapon("famas_mp");

and see if it works
Reply

#14
now its right thanks taht you helped me! Blush
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Android problem Yamato 12 8,169 04-25-2014, 04:49
Last Post: ScHmIdTy56789
  Problem with Rain Effects on Maps mitchhacker 5 4,855 10-22-2013, 00:46
Last Post: mitchhacker
  Help Liberation Problem Yamato 27 24,940 07-17-2013, 19:54
Last Post: feature
  [xna 4]Rendering problem narkos 9 5,934 07-03-2013, 19:00
Last Post: Nekochan
  Help Problem God plugin v4.0 4nonymous 1 2,724 06-22-2013, 23:25
Last Post: 8q4s8
  Help Infected Shop Plugin Problem Hallla 2 3,154 05-06-2013, 18:29
Last Post: Hallla
  problem with gsc code CheGuevara 5 5,604 04-20-2013, 15:06
Last Post: Nekochan
  problem to connect to server s.j-rez 0 2,232 04-17-2013, 18:18
Last Post: s.j-rez
  warning problem AndEEDJay 0 2,106 04-08-2013, 09:54
Last Post: AndEEDJay
Sad [News] The beginning of the end of the internet as we know it. JariZ 12 6,508 04-05-2013, 18:16
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.