13.03.2015, 21:25
Hiye guys,
I have a script that works in another gamemode but not in the one I use now:
What's wrong?
I have a script that works in another gamemode but not in the one I use now:
PHP код:
public OnPlayerTakeDamage ( playerid, issuerid, Float:amount, weaponid, bodypart ) {
if(issuerid != INVALID_PLAYER_ID && weaponid == 34, 33 && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
GameTextForPlayer(issuerid,"~g~HEADSHOT",2000,3);
GameTextForPlayer(playerid,"~r~HEAD~y~SHOT",2000,3);
}
return 1;
}