KillTimer bug
#2

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
I had a similar problem, easy fix:

Run a global timer and just loop players in that, plus it's way more efficient because you're just calling one function every interval.

And don't forget to use IsPlayerConnected in your function, and definitely make sure you have edited your MAX_PLAYERS in a_samp.inc OR using foreach for loops.
Good idea but the last time i did that except i used it for jail and for every second it only worked for the first player (ID 0). I think its because i used return 1; after every loop ? could that be true ?
Reply


Messages In This Thread
KillTimer bug - by Edga - 28.06.2011, 11:40
Re: KillTimer bug - by Edga - 28.06.2011, 11:55
Re: KillTimer bug - by Edga - 28.06.2011, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)