SA-MP Forums Archive
Scripting Problem, Need Help - 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: Scripting Problem, Need Help (/showthread.php?tid=120726)



Scripting Problem, Need Help - mamedeste - 12.01.2010

Hi, i am making a script that allow you to chose a weapon and them chose tha ammo to that weapon.
There are only a few bugs that i would like to someone to help me.
The bugs are:
1 - When i chose the Flamethower, i put 100 at the ammo, but i only receive 10 ammo.
2 - When chosing a weapon of the follow class of wepons: Sub Machines, Asault and Shotgun, if i chose a weapon and i chose 100 amo, then i chose another weapon of the same class (ex: 1st i chose mp5, the i chose uzi), i chose 50 of ammo, but i am gettinh 150 of ammo, in other words, i get the ammo of all weapons of that class that i chose.

There is the link for the script file: http://solidfiles.com/d/9Pny

Thanks

(Sorry for the bad english)


Re: Scripting Problem, Need Help - mamedeste - 12.01.2010

anyone?


Re: Scripting Problem, Need Help - Babul - 12.01.2010

when downloading this, i get a firefox document "get2.html" of the awesome size of 22 bytes containing: "Hotlinking not allowed"...


Re: Scripting Problem, Need Help - mamedeste - 12.01.2010

I don't know wy that happens, but this is the code posted on pastebin: http://pastebin.com/m7c6979f.