SA-MP Forums Archive
Guns are not loading for some reason - 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: Guns are not loading for some reason (/showthread.php?tid=268036)



Guns are not loading for some reason - HayZatic - 10.07.2011

I did everything correctly.

Код:
AddPlayerClass(287,202.3784,1858.9387,13.1406,281.3625,346,50,353,50,356,50); // Armyspawn 1
What is wrong?


Re: Guns are not loading for some reason - Kush - 11.07.2011

According to your set parameters, "346" as I know isn't a weapon.

According to the wiki page for the functions, here are the set parameters: (skin, Float_x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

pawn Код:
AddPlayerClass(287,202.3784,1858.9387,13.1406,281.3625,50,353,50,356,50,359); // Armyspawn 1



Re: Guns are not loading for some reason - grand.Theft.Otto - 11.07.2011

Hmm, you're using the model ID's, which are used for objects.

https://sampwiki.blast.hk/wiki/Weapons

Use the ID #'s.