Is this OnPlayerUpdate code efficiant?
#1

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;
}
Reply


Messages In This Thread
Is this OnPlayerUpdate code efficiant? - by linuxthefish - 30.03.2011, 19:41
Re: Is this OnPlayerUpdate code efficiant? - by KaleOtter - 30.03.2011, 19:45
Re: Is this OnPlayerUpdate code efficiant? - by WackoX - 30.03.2011, 19:50
Re: Is this OnPlayerUpdate code efficiant? - by Cameltoe - 30.03.2011, 19:52
Re: Is this OnPlayerUpdate code efficiant? - by KaleOtter - 30.03.2011, 19:52
Re: Is this OnPlayerUpdate code efficiant? - by mprofitt - 30.03.2011, 20:09
Re: Is this OnPlayerUpdate code efficiant? - by Cameltoe - 30.03.2011, 20:11
Re: Is this OnPlayerUpdate code efficiant? - by iggy1 - 30.03.2011, 20:15
Re: Is this OnPlayerUpdate code efficiant? - by admantis - 30.03.2011, 20:20
Re: Is this OnPlayerUpdate code efficiant? - by mprofitt - 30.03.2011, 20:32

Forum Jump:


Users browsing this thread: 2 Guest(s)