SA-MP Forums Archive
[Help] LinkVehicleToInterior - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] LinkVehicleToInterior (/showthread.php?tid=166351)



[Help] LinkVehicleToInterior - Beanz - 08.08.2010

Alright, this is a very nooby question but I was wondering if someone can write me a little piece of code since every time I try it, it well... fails.

I was wondering if you could write something under OnPlayerUpdate that would set a Vehicle's Interior when a player's Interior changed, as you can see I'm still learning to script but I've tried this and its failed.

Thanks in advance.


Re: [Help] LinkVehicleToInterior - ikey07 - 08.08.2010

LinkVehicleToInterior(vehicleid,GetPlayerInterior( playerid));