Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new const Float:RandomVehicleSpawns[] [4] = { // by Renas for bičas
- {-172.3216,2731.9087,62.4501,270.3754},
- {-171.9313,2728.6748,62.4501,270.2241},
- {-171.7253,2725.3977,62.4501,269.5755},
- {-172.1965,2721.8105,62.4501,270.3423},
- {-172.4866,2718.5625,62.4501,270.6094},
- {-171.8957,2715.0366,62.4501,270.6726},
- {-171.8359,2711.5679,62.4501,270.5308},
- {-172.1529,2698.2129,62.4501,269.6235},
- {-171.6519,2695.0193,62.4501,269.3591},
- {-161.7735,2677.8557,62.4501,359.9674}
- };
- new randomSpawnForVehicle = random(sizeof(RandomVehicleSpawns)); // By Renas for bičas
- VEHICLE::PosX(playerid::i) = RandomVehicleSpawns[randomSpawnForVehicle][0];
- VEHICLE::PosY(playerid::i) = RandomVehicleSpawns[randomSpawnForVehicle][1];
- VEHICLE::PosZ(playerid::i) = RandomVehicleSpawns[randomSpawnForVehicle][2];
- VEHICLE::Angle(playerid::i) = RandomVehicleSpawns[randomSpawnForVehicle][3];
- jei neaišku su tais 0 1 2 3 tai
- new const kazkas[][4] = {
- {0, 1, 2, 3}
- };
- tavo atvėju tai reiktu mano manimu
- #define MAX_MODELIU_TURGUJ 6 //visada + 1 del to kad 0 del skaiciaus krc :D
- new const modeliai[MAX_MODELIU_TURGUJ] {
- {0, 222, 223, 224, 225, 226}
- };
- if perka car ir kint = 2 tai spawn car su modeliu modeliai[2]
- Paaiškinimas for Darijus by Bičas, neesu tikras kad informacija yra tiksli - sakiau taip kaip man atrodo ir kiek prisimenu kaip man renas aiškino :D
Advertisement
Add Comment
Please, Sign In to add comment