SA-MP Forums Archive
GetPlayerArmour - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerArmour (/showthread.php?tid=126047)



GetPlayerArmour - NewYorkRP - 06.02.2010

Код:
       new Float:armour;
       GetPlayerArmour(playerid);
       SetPlayerArmour(playerid, Float:armor);
       PlayerInfo[playerid][pArmour] = Float:armor;
       OnPlayerUpdate(playerid);
Tell me what i have done wrong in this?

i dont get the GetPlayerArmour(playerid); - how can i make it check it, and then save what it checked.. (if you understand me!)


Re: GetPlayerArmour - Correlli - 06.02.2010

You can learn how to use it here - https://sampwiki.blast.hk/wiki/GetPlayerArmour

And read this also - http://forum.sa-mp.com/index.php?topic=115828.0