SA-MP Forums Archive
More weapons? - 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: More weapons? (/showthread.php?tid=105640)



More weapons? - Angelo94 - 30.10.2009

Can i give a player more than 3 weapons?


Re: More weapons? - Streetplaya - 30.10.2009

Quote:
Originally Posted by Angelo94
Can i give a player more than 3 weapons?
Why not?


Re: More weapons? - Angelo94 - 30.10.2009

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

so i can add other zeros in the end?


Re: More weapons? - Dreftas - 30.10.2009

Quote:
Originally Posted by Angelo94
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

so i can add other zeros in the end?
No you can't add more weapons in AddPlayerClass, but you can give weapon OnPlayerSpawn


Re: More weapons? - Angelo94 - 30.10.2009

Quote:
Originally Posted by Dreft
No you can't add more weapons in AddPlayerClass, but you can give weapon OnPlayerSpawn
so only three weapons per spawn?


Re: More weapons? - Dreftas - 30.10.2009

Quote:
Originally Posted by Angelo94
Quote:
Originally Posted by Dreft
No you can't add more weapons in AddPlayerClass, but you can give weapon OnPlayerSpawn
so only three weapons per spawn?
On AddPlayerClass - yes.


Re: More weapons? - Cedimedi - 30.10.2009

Quote:
Originally Posted by Angelo94
Quote:
Originally Posted by Dreft
No you can't add more weapons in AddPlayerClass, but you can give weapon OnPlayerSpawn
so only three weapons per spawn?
don't give a weapon in class, then in On‌PlayerSpawn = checkscript that test if the skin is that one you want to give weapon and use GivePlayerWeapon