Vehicle.IsGhost Function.

Started by FarisDon, Jul 11, 2015, 01:54 PM

Previous topic - Next topic

FarisDon

Can you guys tell me how to use Vehicle.IsGhost it would be very interesting to have ghost car in the server :) ?

DizzasTeR

bool vehicle.IsGhost

vehicle.IsGhost = true; // Makes your vehicle immune to colliding with other vehicles

.

It's not a function. It's a property. veh.IsGhost = true;
.

EK.IceFlake

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

Thijn

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

FarisDon

immune to colliding???? you know how much talented i am :P

DizzasTeR

Quote from: FarisDon on Jul 11, 2015, 07:53 PMimmune to colliding???? you know how much talented i am :P

dafuq?

Stormeus

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.

FarisDon

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