25.12.2017, 12:49
Код:
Pizzacar[0] = AddCar(448,2099.1370,-1784.7839,12.9992,351.3911,3,3); // pizzaboy1 Pizzacar[1] = AddCar(448,2103.1619,-1784.9354,12.9936,351.3617,3,3); // pizzaboy2 Pizzacar[2] = AddCar(448,2107.0249,-1784.9683,12.9887,351.8490,3,3); // pizzaboy Pizzacar[3] = AddCar(448,2111.1370,-1784.7839,12.9992,351.3911,3,3); // pizzaboy1 Pizzacar[4] = AddCar(448,2115.1370,-1784.7839,12.9992,351.3911,3,3); // pizzaboy1 Pizzacar[5] = AddCar(448,2119.1370,-1784.7839,12.9992,351.3911,3,3); // pizzaboy1 Pizzacar[6] = AddCar(448,2123.1370,-1784.7839,12.9992,351.3911,3,3); // pizzaboy1
Код:
for (new i = 0; i < sizeof Pizzacar; i++) { if (vehicleid == Pizzacar[i]) //If the vehicleid { if (PizzaPosao == false) { ClearAnimations(playerid); //Clears their animation, preventing them from entering the vehicle. SendClientMessage(playerid, COLOR_WHITE, "Niste zaposleni kao Pizza Dostavljac"); // } } }
__________________________________________________ _____
Код:
Ribarcar[0] = AddCar(414,165.5018,-1942.8993,3.3984,33.2749,1,1); // ribar vozilo Ribarcar[1] = AddCar(422,166.4873,-1958.7863,3.3955,326.5559,1,1); // ribar vozilo2 Ribarcar[2] = AddCar(440,143.5078,-1943.6240,3.3983,327.0058,1,1); // ribar vozilo3 Ribarcar[3] = AddCar(554,142.8519,-1958.9226,3.3984,34.8455,1,1); // ribar vozilo4 Ribarcar[4] = AddCar(600,153.8615,-1966.3428,3.3974,91.2872,1,1); // ribar vozilo5