SA-MP Forums Archive
[HELP]How to script: spawn with Full armor - 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: [HELP]How to script: spawn with Full armor (/showthread.php?tid=173156)



[HELP]How to script: spawn with Full armor - MiniDennis - 01.09.2010

Hi,

I don't know how to make in my gamemode that you spawn with full armor.
Can somebody help me?
Thanks.


Re: [HELP]How to script: spawn with Full armor - Sascha - 01.09.2010

Код:
OnPlayerSpawn(playerid)
{
SetPlayerArmor(playerid, 100);
return 1;
}
* search for the "public OnPlayerSpawn(playerid)" in your script first as it should include it, you will get an error if you have it in the script 2 times