easy question [+rep] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: easy question [+rep] (
/showthread.php?tid=326210)
easy question [+rep] -
thefatshizms - 16.03.2012
hi sa-mp community this is a very silly question but i have forgotten something
if i want to add a class like this:
AddPlayerClass(285,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
wich set of numbers is the weapon they spawn with and its amo?
Re: easy question [+rep] -
jameskmonger - 16.03.2012
https://sampwiki.blast.hk/wiki/AddPlayerClass
pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Re: easy question [+rep] -
GNGification - 16.03.2012
First number is skin ID, next 6 are the ones you use for coordinates
I suggest you to give weapons with GivePlayerWeapon^^
Anyways read samp wiki
Re: easy question [+rep] -
thefatshizms - 16.03.2012
ok just to make sure if i wanted to make it with swat skin and minigun with 500amo it would look like this?
AddPlayerClass(285,1759.0189,-1898.1260,13.5622,38,500,266.4503,-1,-1,-1,-1,-1,-1);
Re: easy question [+rep] -
jameskmonger - 16.03.2012
No, it wouldn't.
Re: easy question [+rep] -
petrolhead - 17.03.2012
you better make
public OnPlayerSpawn