array must be indexed
#2

You are trying to compare an integer and a string using ==

replace dini_Get with dini_Int, it's almost the same but it does strval() - converts an integer to a string.

https://sampwiki.blast.hk/wiki/Strval


By the way i think you should save the "Member" value into an variable like you just did with the Leader one, i remember dini being quite slow and you can make it way faster.
Reply


Messages In This Thread
array must be indexed - by AlexuTzVs - 12.07.2017, 15:43
Re: array must be indexed - by kubak01 - 12.07.2017, 16:21
Re: array must be indexed - by AlexuTzVs - 12.07.2017, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)