08.02.2013, 11:23
Try using it like this:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID)
{
if(usergod[issuerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "* Player has god mode.");
return 1;
}
}
return 1;
}