01.11.2010, 19:03
You're supposed to return '1' at OnPlayerUpdate in order for players to synchronize with others,
so:
so:
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsGod[playerid])
{
SetPlayerHealth(playerid, 100.0);
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
}
return 1;
}