Vehicle:IsValidVehicle
Description
Determines whether a given Vehicle is fully initialized.
It is possible, in uncommon circumstances, for a valid vehicle entity to be in an invalid state, such as before Entity:Spawn is called on the vehicle after creation.
If this function returns false, then the Vehicle functions are not usable on this vehicle, while Entity functions are.
Returns
Example
Below is an example demonstrating a way that a Vehicle can return true to IsValid and Entity:IsVehicle but still be in an invalid Vehicle state.
Garry's Mod
Rust
Steamworks
Wiki Help