ItsMods
Please help!! :( - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Please help!! :( (/Thread-Please-help--8488.html)



Please help!! :( - denn4550 - 10-30-2012

This is my code it just gives me a syntax error:(

It gives me this when i try to load a game: Server script compile error bad syntax

onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self takeallweapons();
if(self.team == "axis")
{
self setperk ("specialty_fastreload");
self giveWeapon ( "knife_ballistic_mp");
self switchToWeapon("knife_ballistic_mp");
self thread JumpersAmmo();
self doClientDvar("jump_height", 39 );
self thread maps\mp\gametypes\_hud_message::hintMessage("^1You are now a Jumper!" );
}
if(self.team == "allies")
{
self setperk "(specialty_fastreload");
self setperk "(speciality_movefaster");
self giveWeapon ( "m14_grip_silencer_mp");
self switchToWeapon("m14_grip_silencer_mp");
self SetWeaponAmmoStock( "m14_grip_silencer_mp", 69 );
self clearPerks();

self thread maps\mp\gametypes\_hud_message::hintMessage("^1You are now a Hacker!" );


}
}
}
// Refills jumpers ammo.
JumpersAmmo()
{
self endon("disconnect");
self endon("death");
for(;;)
{
self giveMaxAmmo("knife_ballistic_mp");
wait 2.0;
}
}


RE: Please help!! :( - Nekochan - 10-30-2012

Stop creating double threads.
Code:
... blalbla self setperk "(specialty_fastreload"); self setperk "(speciality_movefaster"); blab.........

Wot, blind people, lol.


RE: Please help!! :( - d0h! - 10-30-2012

why do you open another thread?
please wait till someone replies

http://www.itsmods.com/forum/Thread-Syntax-error.html?pid=89247

This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.