SA-MP Forums Archive
Is player having weapon - 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: Is player having weapon (/showthread.php?tid=618105)



Is player having weapon - MerryDeer - 01.10.2016

Hi,

GetPlayerWeaponData, return gun even if you don't have him in hand. what other function can check gun?


Re: Is player having weapon - oMa37 - 01.10.2016

GetPlayerWeapon; Will get the current player's holding weapon.


Re: Is player having weapon - SickAttack - 01.10.2016

The exact same function, but with a simple fix.

I'll leave the fix to you, since you're a bit ungrateful and just keep asking questions, by questions, by questions (not really the second part).


Re: Is player having weapon - MerryDeer - 01.10.2016

So give my fix


Re: Is player having weapon - JaKe Elite - 01.10.2016

No, learn to script. You kept asking questions that has a simple answer (and not to mention you can make a test on it by yourself on the local server) - You don't even thank the users who helped you. You straightly go and ignored these shit like it was your slave, please learn to script and fix your attitude.


Re: Is player having weapon - Gotham - 01.10.2016

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
No, learn to script. You kept asking questions that has a simple question (and not to mention you can make a test on it by yourself on the local server) - You don't even thank the users who helped you. You straightly go and ignored these shit like it was your slave, please learn to script and fix your attitude.
EXACTLY