SA-MP Forums Archive
help! - 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: help! (/showthread.php?tid=335771)



help! - oscar7610 - 19.04.2012

Im scripting a server.

AddPlayerClass(111,2088.8870,1448.4678,10.8203,142 .7531,0,0,0,0,0,0);
AddPlayerClass(112,2088.8870,1448.4678,10.8203,142 .7531,0,0,0,0,0,0);
AddPlayerClass(113,2088.8870,1448.4678,10.8203,142 .7531,0,0,0,0,0,0);

When Spawning it will give me a random gun. Deagle,Sniper. There is no gun to it.


Re: help! - .FuneraL. - 19.04.2012

Here are the parameters of the AddPlayerClass

pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)