25.02.2012, 14:55
pawn Код:
if(ring==10){
new rand = random(sizeof(SpawnsRing10));
SetPlayerInterior(playerid,1);
car[playerid]=CreateVehicle(AviableCars[random(84)],SpawnsRing10[rand][0],SpawnsRing10[rand][1],SpawnsRing10[rand][2],SpawnsRing10[rand][3],Colori[random(7)],Colori[random(7)],9999);
LinkVehicleToInterior(car[playerid],1);
PutPlayerInVehicle(playerid,car[playerid],0);
SetVehicleHealth(car[playerid],999);
SetPlayerHealth(playerid,99);
SetCameraBehindPlayer(playerid);}