SA-MP Forums Archive
Vehicle attached object gun system. im stuck - 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: Vehicle attached object gun system. im stuck (/showthread.php?tid=441655)



Fixed - AdamCooper - 03.06.2013

I worked it out. nvm


Re: Vehicle attached object gun system. im stuck - Pottus - 03.06.2013

You lift the crates with a forklift so I'm thinking this line here

new Pcar = GetPlayerNearestVehicle(playerid);

is getting your forklift vehicle id instead of the loading vehicle id.


Re: Vehicle attached object gun system. im stuck - AdamCooper - 03.06.2013

So Ill just chang Pcar to Jcar or w/e?