Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: FarisDon on Jul 11, 2015, 01:54 PM

Title: Vehicle.IsGhost Function.
Post by: FarisDon on Jul 11, 2015, 01:54 PM
Can you guys tell me how to use Vehicle.IsGhost it would be very interesting to have ghost car in the server :) ?
Title: Re: Vehicle.IsGhost Function.
Post by: DizzasTeR on Jul 11, 2015, 02:02 PM
bool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles
Title: Re: Vehicle.IsGhost Function.
Post by: . on Jul 11, 2015, 02:02 PM
It's not a function. It's a property. veh.IsGhost = true;
Title: Re: Vehicle.IsGhost Function.
Post by: EK.IceFlake on Jul 11, 2015, 02:43 PM
Quote from: Doom_Killer on Jul 11, 2015, 02:02 PMbool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles
Its more than immune to colliding. It actually passes through other vehicles
Title: Re: Vehicle.IsGhost Function.
Post by: Thijn on Jul 11, 2015, 02:59 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 02:43 PM
Quote from: Doom_Killer on Jul 11, 2015, 02:02 PMbool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles
Its more than immune to colliding. It actually passes through other vehicles
Isn't that the same as immune to colliding? If you don't collide, you pass through as if the vehicle doesn't exist :P
Title: Re: Vehicle.IsGhost Function.
Post by: FarisDon on Jul 11, 2015, 07:53 PM
immune to colliding???? you know how much talented i am :P
Title: Re: Vehicle.IsGhost Function.
Post by: DizzasTeR on Jul 11, 2015, 08:49 PM
Quote from: FarisDon on Jul 11, 2015, 07:53 PMimmune to colliding???? you know how much talented i am :P

dafuq?
Title: Re: Vehicle.IsGhost Function.
Post by: Stormeus on Jul 12, 2015, 12:11 AM
Quote from: Thijn on Jul 11, 2015, 02:59 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 02:43 PM
Quote from: Doom_Killer on Jul 11, 2015, 02:02 PMbool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles
Its more than immune to colliding. It actually passes through other vehicles
Isn't that the same as immune to colliding? If you don't collide, you pass through as if the vehicle doesn't exist :P

Technically Vehicle.Immunity allows you to set collision immunity, which makes it immune to taking damage from other vehicles.
Title: Re: Vehicle.IsGhost Function.
Post by: FarisDon on Jul 12, 2015, 03:55 AM
Quote from: Stormeus on Jul 12, 2015, 12:11 AM
Quote from: Thijn on Jul 11, 2015, 02:59 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 02:43 PM
Quote from: Doom_Killer on Jul 11, 2015, 02:02 PMbool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles
Its more than immune to colliding. It actually passes through other vehicles
Isn't that the same as immune to colliding? If you don't collide, you pass through as if the vehicle doesn't exist :P

Technically Vehicle.Immunity allows you to set collision immunity, which makes it immune to taking damage from other vehicles.
Thank you Stormeus :D