17.02.2010, 17:35
well
you dont need the second part
ok thats that
its not complete but it should help
you dont need the second part
Код:
new cars[87] = { 400,401,402 ........ } new carowned[MAX_PLAYERS];
Код:
OnPlayerSpawn(playerid){ new i; i = random(sizeof(cars)); if(carowned[playerid] > 0){ SetVehiclePos(carowned[playerid], x, y, z); PutPlayerInVehicle(playerid, carowned[playerid], 0); } else{ carowned[playerid] = CreateVehicle(cars[i], x, y, z); SetVehiclePos(carowned[playerid], x, y, z); PutPlayerInVehicle(playerid, carowned[playerid], 0); }