SA-MP Forums Archive
I need help!! - 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: I need help!! (/showthread.php?tid=628205)



I need help!! - SuperZak - 07.02.2017

Hi!

I want to spawn a car in another world by typing /setworld 1, but the car don't spawn, It spawn in world 0.

Admin system that I'm using to go to another world : LuxAdmin
Car Spawner : https://sampforum.blast.hk/showthread.php?tid=494893

Hope you can help me!
Thanks very much for reading!


Re: I need help!! - Vince - 07.02.2017

Search for LinkVehicleToInterior in that script. Below that line put this:
PHP код:
SetVehicleVirtualWorld(PlayerInfo[playerid][pSpawnVehicle], GetPlayerVirtualWorld(playerid)); 



Re: I need help!! - SuperZak - 07.02.2017

Thanks for helping!