how can i make players to spawn with a 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: how can i make players to spawn with a weapons? (
/showthread.php?tid=89490)
how can i make players to spawn with a weapons? -
sandisk125 - 02.08.2009
how can i make a players have a weapons when they are spawning?
Re: how can i make players to spawn with a weapons? -
boelie - 02.08.2009
Read this very carefully;
https://sampwiki.blast.hk/wiki/AddPlayerClass
Re: how can i make players to spawn with a weapons? -
xCoder - 02.08.2009
AddPlayerClass(skinid, x, y, z, angle, weap1, ammo1, ammo2,weap2, weap3, ammo3 );
for exam AddPlayerClass(115, 115, 240, 14, 1, 38, 1000, 32,1000, 33, 500 );
wow id 38 is minigun
Re: how can i make players to spawn with a weapons? -
MrPanz - 02.08.2009
Quote:
Originally Posted by xCoder
AddPlayerClass(skinid, x, y, z, angle, weap1, ammo1, ammo2,weap2, weap3, ammo3 );
for exam AddPlayerClass(115, 115, 240, 14, 1, 38, 1000, 32,1000, 33, 500 );
wow id 38 is minigun
|
Eh.. found a mistake
You said : AddPlayerClass(skinid, x, y, z, angle, weap1, ammo1, ammo2,weap2, weap3, ammo3 );
Its suppost to be
AddPlayerClass(skinid, x, y, z, angle, weap1, ammo1,
weap2,ammo2, weap3, ammo3 );