11.10.2015, 20:09
Hey.
I'm failing to attach someones car to Tow car. The idea is simple, Mechanic attaches someones car to his own truck and then pulls it to where it should be.
So, what am i doing wrong here?
I'm failing to attach someones car to Tow car. The idea is simple, Mechanic attaches someones car to his own truck and then pulls it to where it should be.
Код:
CMD:towcar(playerid, params[]) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 525) return SendClientMessage(playerid, COLOR_GREY, "You have to be in TowCar to use this command."); new TowCar = GetPlayerVehicleID(playerid); new CarToBeTowed = GetPlayerVehicleID(params[0]); AttachTrailerToVehicle(CarToBeTowed, TowCar); return 1; }