SA-MP Forums Archive
[Help] AddPlayerClass Weapon Problem. - 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] AddPlayerClass Weapon Problem. (/showthread.php?tid=479172)



[Help] AddPlayerClass Weapon Problem. - Champ - 03.12.2013

pawn Код:
AddPlayerClass(285, 2149.6116, -1209.8621, 23.8794, 324.8675, 24, 150, 30, 250, 0, 0); // classid == 0
        AddPlayerClass(283, 2149.6116, -1209.8621, 23.8794, 324.8675, 29, 200, 25, 150, 0, 0); // classid == 1
        AddPlayerClass(280, 2149.6116, -1209.8621, 23.8794, 324.8675, 31, 250, 34, 65, 0, 0); // classid == 2

        AddPlayerClass(111, 2261.6350, -1048.5187, 50.9987, 85.7663, 24, 150, 30, 250, 0, 0); // classid == 3
        AddPlayerClass(112, 2261.6350, -1048.5187, 50.9987, 85.7663, 29, 200, 25, 150, 0, 0); // classid == 4
        AddPlayerClass(126,  2261.6350, -1048.5187, 50.9987, 85.7663, 31, 250, 34, 65, 0, 0); // classid == 5
the problem is that when i connect to the server and choose class 0, it is working good but when i change my class ( F4 + /kill ) and take calssid 1, it adds the weapon of classid 0. I don't know why. Hope you understand.

Please help.


Re: [Help] AddPlayerClass Weapon Problem. - Wizzy951 - 03.12.2013

Maybe you have a weapon saving system and it loads your weapons removing the class 1 ones when you spawn.


Re: [Help] AddPlayerClass Weapon Problem. - Champ - 03.12.2013

thanks

+Rep