help with tow system
#6

Код:
CMD:untow(playerid, params[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
	if(IsTrailerAttachedToVehicle(vehicleid))
	{
		DetachTrailerFromVehicle(vehicleid);
		SendClientMessage(playerid, COLOR_GREY, "INFO:{FFFFFF} You stopped towing a vehicle");
		return 1;
	}
	return 1;
}
I didn't test it, but didn't give me any errors when I placed it in my script, so yeah, good luck.
Reply


Messages In This Thread
help with tow system - by Chris_Morrison - 09.02.2013, 17:29
Re: help with tow system - by iGamerX - 09.02.2013, 17:31
Re: help with tow system - by Chris_Morrison - 09.02.2013, 17:33
Re: help with tow system - by Blast3r - 09.02.2013, 17:51
Re: help with tow system - by Chris_Morrison - 09.02.2013, 18:08
Re: help with tow system - by Blast3r - 09.02.2013, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)