Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: value2k on Mar 04, 2016, 03:28 PM

Title: How to remove vehicle
Post by: value2k on Mar 04, 2016, 03:28 PM
Hello, i got another question, how to remove vehicle from world?
Title: Re: How to remove vehicle
Post by: KAKAN on Mar 04, 2016, 03:33 PM
Either by removing or by changing it's world.
For changing the world use vehicle.World = (int)World
For removing use: vehicle.Delete()
Title: Re: How to remove vehicle
Post by: Striker on Mar 04, 2016, 03:55 PM
Quote from: value2k on Mar 04, 2016, 03:28 PMHello, i got another question, how to remove vehicle from world?
Quote from: vito on Mar 04, 2016, 03:36 PMSet Vehicle.World to 123 for example.
local veh = player.Vehicle; veh.World = Your_World;