OnPlayerUpdate - 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: OnPlayerUpdate (
/showthread.php?tid=575844)
OnPlayerUpdate -
lwilson - 30.05.2015
Is there anyway to disable quick weapon change of players?
Re: OnPlayerUpdate -
SoFahim - 30.05.2015
I don't think so.
The ans is NO
Re: OnPlayerUpdate -
Konstantinos - 30.05.2015
The only thing I could think of is to store the weaponid and the time (gettime or GetTickCount) and if the player changed weapon in less time that the one you specify, return 0 in OnPlayerUpdate to desync the player for all the rest. In the next update, as long as the time is longer will sync the player back.
Quote:
Originally Posted by SoFahim
I don't think so.
The ans is NO
|
Almost everything is possible to be done.