02.03.2014, 10:31
Quote:
Thanks a lot!
PutPlayerInVehicle(playerid, vehicleid, seatid); 424 is the vehicle ID. I have one question.. I have created random spawns for the derby players to spawn, can two players spawn at one place? (This will be a big problem) if yes, can you tell me the way to avoid this? |
You'd have to create another variable of the type boolean to check if that specific row has been used,
PSEUDO version below:
pawn Код:
if(RandomSpawn[idx][5] == true){
// This has been used so add one to idx and redo...
}