Quote:
Originally Posted by Dwane
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 >>>>>>>>>>>>>>>>>
admincar holds the vehicle id for a sultan. Change to admincar1 and admincar2 and then
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)
|
But how to work for two car with one new
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 >>>>>>>>>>>>>>>>>