26.09.2012, 00:54
Try it now...
pawn Код:
if(issuerid != INVALID_PLAYER_ID)
{
if(weaponid == 34)
{
new Float:health;
GetPlayerHealth(playerid, health); //We're saving it to our new Float:health variable.
SetPlayerHealth(playerid, ((health + amount) - 50));
}
return 1;
}