new PoliceVeh = random(6); switch (PoliceVeh) { case 0: { PoliceVeh[playerid] = CreateVehicle(523,-1581.8171,651.2495,6.9569,0.2016, -1, -1, -1); PutPlayerInVehicle(playerid,RandomVeh(playerid), 0); } case 1: { PoliceVeh[playerid] = CreateVehicle(523,-1587.6960,651.1417,6.9563,359.9494, -1, -1, -1); PutPlayerInVehicle(playerid,RandomVeh(playerid), 0); } case 2: { PoliceVeh[playerid] = CreateVehicle(523,-1594.2667,674.4127,6.9565,180.4530, -1, -1, -1); PutPlayerInVehicle(playerid,RandomVeh(playerid), 0); }.... |
new PoliceVeh[MAX_PLAYERS] = random(6);
switch (PoliceVeh[playerid])