12.04.2017, 05:40
Put this somewhere:
Then:
PHP код:
stock in_array(needle, const haystack[], size = sizeof haystack, &index = 0)
{
for(new i; i < size; i++)
{
if(haystack[i] == needle)
{
index = i;
return true;
}
}
return false;
}
PHP код:
if(in_array(vehicleid, g_Vehicle) && PlayerInfo[playerid][TaxiDuty] == 0)