28.08.2012, 04:13
Код:
new currentveh; new currentveh2; currentveh = PlayerInfo[playerid][pPcarkey]; currentveh2 = PlayerInfo[playerid][pPcarkey2]; DestroyVehicle(currentveh); DestroyVehicle(currentveh2);
Код:
// CAR RELOAD COMMAND // LoadCar(); new scurrentveh; new scurrentveh2; scurrentveh = PlayerInfo[playerid][pPcarkey]; scurrentveh2 = PlayerInfo[playerid][pPcarkey2]; CreateVehicle(CarInfo[scurrentveh][cModel],CarInfo[scurrentveh][cLocationx],CarInfo[scurrentveh][cLocationy],CarInfo[scurrentveh][cLocationz]+1.0,CarInfo[scurrentveh][cAngle],CarInfo[scurrentveh][cColorOne],CarInfo[scurrentveh][cColorTwo],60000); CreateVehicle(CarInfo[scurrentveh2][cModel],CarInfo[scurrentveh2][cLocationx],CarInfo[scurrentveh2][cLocationy],CarInfo[scurrentveh2][cLocationz]+1.0,CarInfo[scurrentveh2][cAngle],CarInfo[scurrentveh2][cColorOne],CarInfo[scurrentveh2][cColorTwo],60000); // CAR LOAD //