29.03.2013, 12:46
Quote:
This only works for the first vehicle, but the second vehicle does not work
|
pawn Код:
admincar = AddStaticVehicle(560,1520.1329,-1622.6709,13.2541,359.9984,17,1); // Sultan 1 >>>>>>>>>>>>>>>>>
admincar = AddStaticVehicle(560,1520.7255,-1609.5054,13.2505,358.1849,17,1); // Sultan 2 >>>>>>>>>>>>>>>>>
pawn Код:
admincar1 = AddStaticVehicle(560,1520.1329,-1622.6709,13.2541,359.9984,17,1); // Sultan 1 >>>>>>>>>>>>>>>>>
admincar2 = AddStaticVehicle(560,1520.7255,-1609.5054,13.2505,358.1849,17,1); // Sultan 2 >>>>>>>>>>>>>>>>>
pawn Код:
if(GetPlayerVehicleID(playerid) == admincar1 || GetPlayerVehicleID(playerid) == admincar2)