[Include] SA:MP IsUp Tool - API
#5

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
Using random values to check a free slot is not efficient, it could slow down if majority of the randomized values are used. Although random function on PAWN seeds randomized numbers, it's better to either loop and check for a free slot or use a variable to toggle next free slot.

To get the result soon as the data is received, you could've hooked "ServerInformation_Response". Lastly, I'm warning you about declaring arrays or enumerators without include prefixes. It could simply create conflicts, also, consider using static global arrays.
I prefixed most; I remember you giving me this tip on one of my last includes I've done. And how would you suggest hooking ServerInformation_Response? Thanks!
Reply


Messages In This Thread
SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 16:20
Re: SA:MP IsUp Tool - API - by Kaperstone - 04.01.2015, 16:24
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 16:26
Re: SA:MP IsUp Tool - API - by Lordzy - 04.01.2015, 16:36
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 16:46
Re: SA:MP IsUp Tool - API - by Lordzy - 04.01.2015, 16:54
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 17:16
Re: SA:MP IsUp Tool - API - by Djole1337 - 04.01.2015, 17:20
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 17:22
Re: SA:MP IsUp Tool - API - by Djole1337 - 04.01.2015, 17:25
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 17:28
Re: SA:MP IsUp Tool - API - by Djole1337 - 04.01.2015, 17:35
Re: SA:MP IsUp Tool - API - by Abagail - 04.01.2015, 17:41
Re: SA:MP IsUp Tool - API - by Abagail - 05.01.2015, 23:47
Re: SA:MP IsUp Tool - API - by ViperAssasin11 - 06.01.2015, 00:35
Re: SA:MP IsUp Tool - API - by Abagail - 06.01.2015, 00:47
Re: SA:MP IsUp Tool - API - by Ryan_Bowe - 07.01.2015, 17:03
Re: SA:MP IsUp Tool - API - by Abagail - 07.01.2015, 17:14
Re: SA:MP IsUp Tool - API - by nickdodd25 - 07.01.2015, 17:53
Re: SA:MP IsUp Tool - API - by Abagail - 07.01.2015, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)