[BUG(RC4)] GetPlayerWeapon or SetPlayerArmedWeapon - 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: [BUG(RC4)] GetPlayerWeapon or SetPlayerArmedWeapon (
/showthread.php?tid=197902)
[BUG(RC4)] GetPlayerWeapon or SetPlayerArmedWeapon -
CyNiC - 10.12.2010
I was doing something to change the weapon while he was a passenger but failed, only works once, after that first time, as if they not had changed the gun.
Perhaps it is a problem in SetPlayerArmedWeapon.
The problem is not in my code because when I changed to use a vehicle outside, worked as it should.
http://pastebin.com/JjDcQqN0
PS: I solved with PVars.