Im stuck on something
#5

If you saved the trailer number to an array when you spawn it:

pawn Код:
trailer[playerid] = CreateVehicle(trailer stuff in here);
When it comes to removing the trailer, just do:
DetachTrailer(trailer[playerid] other stuff here);

Followed by:
DestroyVehicle(trailer[playerid] other stuff here);

(Don't forget to set trailer[playerid] back to 0/-1)
Reply


Messages In This Thread
Im stuck on something - by Im_BanK - 18.03.2009, 18:16
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 18:30
Re: Im stuck on something - by Im_BanK - 18.03.2009, 19:08
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 19:35
Re: Im stuck on something - by Weirdosport - 18.03.2009, 19:54
Re: Im stuck on something - by Im_BanK - 18.03.2009, 20:05
Re: Im stuck on something - by MenaceX^ - 18.03.2009, 20:14
Re: Im stuck on something - by LarzI - 18.03.2009, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)