How do i make a Spawn car command only or a certain worldid?
#2

SetVehicleVirtualWorld

Under your spawn car command:

Код:
new vw = GetPlayerVirtualWorld(playerid);
//create vehicle

SetVehicleVirtualWorld(vehicleid,vw);
The above code will check which virtual world the player is in and then set the virtual world of the vehicle to the same virtual world.
Reply


Messages In This Thread
How do i make a Spawn car command only or a certain worldid? - by markjaysonpinoy - 15.07.2010, 19:48
Re: How do i make a Spawn car command only or a certain worldid? - by DJDhan - 15.07.2010, 19:53
Re: How do i make a Spawn car command only or a certain worldid? - by felipex - 15.07.2010, 19:57
Re: How do i make a Spawn car command only or a certain worldid? - by markjaysonpinoy - 15.07.2010, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)