SA-MP Forums Archive
Trailer problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Trailer problem (/showthread.php?tid=525260)



Trailer problem - SeniorGamer - 11.07.2014

My trailer wont attach...


Код:
CMD:trailer(playerid,params[])
{
	new Float:x,Float:y,Float:z;
	GetPlayerPos(playerid,x,y,z);
	new Trailer = CreateVehicle(607,x,y,z,0,0,0,0);
	AttachTrailerToVehicle(Trailer,GetPlayerVehicleID(playerid));
	return 1;
}



Re : Trailer problem - mirou123 - 11.07.2014

Make sure you are in a truck when you use that command.


Re: Re : Trailer problem - Pboachie - 11.07.2014

Quote:
Originally Posted by mirou123
Посмотреть сообщение
Make sure you are in a truck when you use that command.
And make sure that you align it right