11.06.2012, 05:03
You cannot compare arrays.
A string is an array.
Check this post:
EDIT: sorry wrong post, this one haha:
http://forum.sa-mp.com/showpost.php?...57&postcount=6
A string is an array.
pawn Code:
if(array == someotherarray)
// is wrong! In order to compare an array you'll have to use strcmp
if(!strcmp(array, someotherarray, false))
EDIT: sorry wrong post, this one haha:
http://forum.sa-mp.com/showpost.php?...57&postcount=6