SA-MP Forums Archive
<Help> warning 215: expression has no effect (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)
+--- Thread: <Help> warning 215: expression has no effect (LinkVehicleToInterior) (/showthread.php?tid=522732)



<Solved> warning 215: expression has no effect (LinkVehicleToInterior) - Leon9741 - 28.06.2014

Hello

I am having some troubles with the function LinkVehicleToInterior and i cant find out where is the error!



Thanks for your time reading my thread and sorry for my bad english.


Re: <Help> warning 215: expression has no effect (LinkVehicleToInterior) - luis_mendoza - 29.06.2014

Try using it like

pawn Код:
new id = CreateVehicle(494, -1396.585, -227.778, 1050.940, 171.989, 0, 1, -1);
LinkVehicleToInterior(id, 7);



Respuesta: Re: <Help> warning 215: expression has no effect (LinkVehicleToInterior) - Leon9741 - 29.06.2014

Quote:
Originally Posted by luis_mendoza
Посмотреть сообщение
Try using it like

pawn Код:
new id = CreateVehicle(494, -1396.585, -227.778, 1050.940, 171.989, 0, 1, -1);
LinkVehicleToInterior(id, 7);
Ty for your answer but it still giving that warning :/




Respuesta: <Help> warning 215: expression has no effect (LinkVehicleToInterior) - Leon9741 - 29.06.2014

I just solved the warning using:

pawn Код:
CallRemoteFunction
And doing these instructions in a new filterscript.