Player class not getting 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: Player class not getting weapons (
/showthread.php?tid=90808)
Player class not getting weapons -
Stunterz - 10.08.2009
Hi, i have this player line, but the player dosnt get the weapons when you spawn, i have looked on the wiki, but no help

what have i done wrong?
AddPlayerClass(105,1529.4193,2863.4377,11.4085,42. 3681,333,0,342,10,359,20); // Grove1
Please help
thanks
Re: Player class not getting weapons -
V1ceC1ty - 10.08.2009
1st you need correct weapon id's and skins
https://sampwiki.blast.hk/wiki/Weapons https://sampwiki.blast.hk/wiki/Category:Skins
pawn Код:
AddPlayerClass(SKIN,POS+ANGLE, WEP, AMMO, WEP, AMMO, WEP, AMMO);
Example:
pawn Код:
AddPlayerClass(287,1958.7117,1343.1580,15.3746,270.1425, 4, 1, 23, 25, 31, 250);
Army skin, random pos i got from a script, 1 Knife, Silencer 25 ammo, AK-47 250 ammo.
you can easily add player classes by going to a server and typing /save and they will be save to C:\Program Files\Rockstar Games\GTA San Andreas > Saved Positions or where ever you installed SA to.
Re: Player class not getting weapons -
TheKingWillem - 10.08.2009
You used the Model id instead of the normal ID.