14.05.2017, 13:23
Well I figured it out.
PHP код:
new count;
for(new i = 0;i<MAX_STORES;i++) if(stores[i][savings] == 1)
{
count++;
}
new b = random(count);
SetPlayerCheckpoint( playerid, stores[b][sx],stores[b][sy],stores[b][sz], 2.0 );