30.03.2011, 19:41
As the title says. BTW there can be around 20 people who will have godmode on 1.
pawn Код:
public OnPlayerUpdate(playerid)
{
if(godmode[playerid] == 1)
{
SetPlayerHealth(playerid, 200);
SetPlayerArmour(playerid, 200);
RepairVehicle(GetPlayerVehicleID(playerid));
}
return 0;
}