13.06.2013, 01:29
Is it possible to edit SetPlayerArmour to where it still sets the player's Armour, but it checks if the Float:Armour is above 99 and it will automatically set it to 99 if it's above it (for anti-cheat reasons).
If so, would it be something like this?:
If so, would it be something like this?:
pawn Код:
stock SetPlayerArmourEx(playerid, Float:armour)
{
if(armour > 99) armour = 99;
return SetPlayerArmour(playerid, armour);
}
#define SetPlayerArmour SetPlayerArmourEx