[HELP] Godmode problem
#2

You're supposed to return '1' at OnPlayerUpdate in order for players to synchronize with others,
so:

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsGod[playerid])
    {
        SetPlayerHealth(playerid, 100.0);
        if(IsPlayerInAnyVehicle(playerid))
        {
            SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
        }
    }
        return 1;
}
Reply


Messages In This Thread
[HELP] Godmode problem - by viKKmaN - 01.11.2010, 18:49
Re: [HELP] Godmode problem - by Hiddos - 01.11.2010, 19:03
Re: [HELP] Godmode problem - by viKKmaN - 01.11.2010, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)