Posts: 516
Threads: 153
Joined: Sep 2009
Reputation:
0
Hi i was wondering how to make something like that
for(i=0;i<25;i++)
{
String = something;
}
if(Array[playerid][String]) // String is array key name
Posts: 316
Threads: 13
Joined: Oct 2008
Reputation:
0
Are you looking for something that checks if a string matches any of the strings in the array?
Posts: 516
Threads: 153
Joined: Sep 2009
Reputation:
0
Yes, like check if it in array and i can use Array[playerid][String] value
in PHP it would be:
$value= "something";
if($array[playerid][$value])
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
I don't think you can do it in pawn.