y_ini problems
#5

Quote:
Originally Posted by Facerafter
Посмотреть сообщение
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...?
you are creating file , writing to file , saving file.
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
Reply


Messages In This Thread
y_ini problems - by Facerafter - 04.06.2013, 11:05
Re: y_ini problems - by Facerafter - 04.06.2013, 11:45
Re: y_ini problems - by NvidiaForTheWin - 04.06.2013, 12:05
Re: y_ini problems - by Facerafter - 04.06.2013, 12:10
Re: y_ini problems - by NvidiaForTheWin - 04.06.2013, 12:38
Re: y_ini problems - by Facerafter - 04.06.2013, 13:09
Re: y_ini problems - by NvidiaForTheWin - 04.06.2013, 13:28
Re: y_ini problems - by Facerafter - 04.06.2013, 14:21
Re: y_ini problems - by NvidiaForTheWin - 04.06.2013, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)