SA-MP Forums Archive
Onplayerupdate , sau onplayerupdateex cu timer? - 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 , sau onplayerupdateex cu timer? (/showthread.php?tid=409221)



Onplayerupdate , sau onplayerupdateex cu timer? - c0smin - 20.01.2013

Salut , am un server cu o medie de jucatori intre 80-100 online.
Am fost anuntat de cei de la host (0ping) ca serverul consuma cam mult cpu, bun vreau sa va intreb e normal sa folosesc onplayerupdate care e apelat de 30/s din cate am inteles de la un priten ? Sau sa folosesc onplayerupdateex la onplayerdisconnect , si un timer la 5-10 minute sa zicem pe onplayerupdateex?

OnPlayerUpdate:
Код:
This callback is called very frequently per second per player, only use it when you know what it's meant for.



Re: Onplayerupdate , sau onplayerupdateex cu timer? - LarzI - 20.01.2013

Either post this in the section of your language http://forum.sa-mp.com/forumdisplay.php?f=33
Or post in English.


Re: Onplayerupdate , sau onplayerupdateex cu timer? - InfiniTy. - 20.01.2013

Timer
And ffs post in the right section
//Posteaza in sectiunea corecta.. cea a romanilor daca postezi in romana.. aici se posteaza in engleza