OnPlayerUpdate 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: OnPlayerUpdate Need Help: (
/showthread.php?tid=147660)
OnPlayerUpdate Need Help: - Micko9 - 13.05.2010
Does on player update everysupport :
-OnMoneyUpdate
-Score Update
-Weapon Update
-State Update
... ?
but moastly for the Money and score.
Re: OnPlayerUpdate Need Help: -
juice.j - 13.05.2010
Quote:
This callback is called everytime a client/player updates the server with their status.
|
This goes for all kinds of updates, such as weapons, money, states etc.
Re: OnPlayerUpdate Need Help: - Micko9 - 14.05.2010
Quote:
Originally Posted by juice.j
Quote:
This callback is called everytime a client/player updates the server with their status.
|
This goes for all kinds of updates, such as weapons, money, states etc.
|
so even for score and actually all that can change to the players stats ? nice. this will work just
fine.
Re: OnPlayerUpdate Need Help: -
juice.j - 14.05.2010
Remember a very, very important line tho':
Quote:
Important Note: This callback is called very frequently per second per player, only use it when you know what it's meant for.
|
And check this one out:
http://forum.sa-mp.com/index.php?topic=115828.0