02.08.2017, 18:54
Add to what Misur said:
There's no need to do this
As this would be calling too frequent ( https://sampwiki.blast.hk/wiki/OnPlayerUpdate )
Read up some more on http://wiki.sa-mp.com
There's no need to do this
PHP код:
public OnPlayerUpdate(playerid)
{
PlayerHealth[playerid] = GetPlayerHealth(playerid);
PlayerArmour[playerid] = GetPlayerArmour(playerid);
}
Read up some more on http://wiki.sa-mp.com