12.03.2016, 18:55
The function itself doesn't return a specific value. The player's armour is stored in the specified variable.
https://sampwiki.blast.hk/wiki/GetPlayerArmour
pawn Код:
new Float:Armour;
GetPlayerArmour(playerid, Armour);
if(Armour > 2.0)
{
SendMes(playerid, 0x00FF00FF, "{B9BCBD}(Anti-Cheat Armour)");
DelayedKick(playerid);
}