Problem with SetPlayerArmour. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with SetPlayerArmour. (
/showthread.php?tid=518173)
Problem with SetPlayerArmour. -
TheSy - 08.06.2014
Hello.
So when I use the function SetPlayerArmour she crash my GTA, and when I removed all goes well, lol.
Here's how I use it:
pawn Код:
new Float:CheckArmure;
GetPlayerArmour(playerid, CheckArmure);
SetPlayerArmour(playerid, -CheckArmure);
Re: Problem with SetPlayerArmour. -
DrakeX - 08.06.2014
Are you trying to remove the player's armour completely?
pawn Код:
SetPlayerArmour(playerid, 0.0);