Answered Bo2

rui vieira

Veteran
Messages
17
Reaction score
5
Points
783
hi everyone can any one help me with code i get bad syntax here the script

headshothim( player )
{
if( !(player ishost()) )
{
player thread [[ ]]( self, self, 100, 0, "MOD_HEAD_SHOT", self getcurrentweapon(), ( 0, 0, 0 ), ( 0, 0, 0 ), "head", 0, 0 );
}

}
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,333
Reaction score
769
Points
973
hi everyone can any one help me with code i get bad syntax here the script

headshothim( player )
{
if( !(player ishost()) )
{
player thread [[ ]]( self, self, 100, 0, "MOD_HEAD_SHOT", self getcurrentweapon(), ( 0, 0, 0 ), ( 0, 0, 0 ), "head", 0, 0 );
}

}
Code:
player thread [[ level.callbackPlayerDamage ]]( self, self, 100, 0, "MOD_HEAD_SHOT", self getcurrentweapon(), ( 0, 0, 0 ), ( 0, 0, 0 ), "head", 0, 0 );
 
Top