[HELP]Reset a gun set. - 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: [HELP]Reset a gun set. (
/showthread.php?tid=90518)
[HELP]Reset a gun set. -
Lucas Giovanni - 08.08.2009
How do I reset I define a gun?
ResetPlayerWeapons (playerid, 24), / / this is the id of 24 Desert Eagle, I know that does not work
but how is that not all weapons reset the player?
Re: [HELP]Reset a gun set. -
Paladin - 08.08.2009
Quote:
Originally Posted by Lucas Giovanni
but how is that not all weapons reset the player?
|
lolwhat do you mean?
Re: [HELP]Reset a gun set. -
Lucas Giovanni - 08.08.2009
To reset determined weapon and not all weapons
Re: [HELP]Reset a gun set. -
laser50 - 08.08.2009
if you mean what i think, you are trying to let 1 gun dissapear instead of all?
Re: [HELP]Reset a gun set. -
Lucas Giovanni - 08.08.2009
yes
Re: [HELP]Reset a gun set. -
Paladin - 08.08.2009
You will have to GetPlayerWeaponData, then if the player has the weapon you are looking for, it removes all weapons then adds all the weapons back except for that one you do not want.
This might help
Re: [HELP]Reset a gun set. -
Jefff - 08.08.2009
Check this, is long but should work
http://forum.sa-mp.com/index.php?top...7650#msg637650