Car Spawning
#1

I have a car shop dialog which works fine. However I need it to spawn me a car when I'm in a different virtual world. I tried the wiki but it wouldn't work properly for me. :/ Here's the code if anyone can help me with this little issue. Thanks.

http://pastebin.com/050f1Jjh
Reply
#2

I can't explain more than this on my ipod which types slow... Use GetPlayerViryualWorld and SetVehicleVirtualWorld
Reply
#3

Thanks for the response. I added the line:SetVehicleVirtualWorld(GetPlayerVehicleID(pla yerid), 1) however when I add the getplayervirtualworld it compiles with errors. Is there a chance someone could post exactly how it should look like? I'm new to all this and getting frustrated trying to get it to work. :/
Reply
#4

pawn Код:
SetVehicleVirtualWorld(SpawnedVehicles[playerid], GetPlayerVirtualWorld(playerid));
Reply
#5

It worked. Thank you MadeMan.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)