Player class not getting weapons
#1

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
Reply
#2

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.
Reply
#3

You used the Model id instead of the normal ID.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)