04.06.2013, 12:38
Quote:
OH Now i see it... Sorry i really missed that...
Edit: Sorry for this im still a noob with y_ini and also not a very expierenced scripter. But under what do i need to put this? Under a callback or do need to create a stock...? |
that mean you have two solution.
1: create a function and a timer which run this function each x time. ( the faster the timer is , the more lag you will have )
2 : THE BEST put that on OnPlayerDisconnect
and never put that genre of things on OnPlayerUpdate because this callback is called like each 500ms ( IF not faster ! ).
let say you have 15 player online , it mean you open , write , save afile 15 time per 500ms.
1 second = 30 time