IsVehicleStreamedIn

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
Checks if a vehicle is streamed in for an NPC. Only nearby vehicles are streamed in.


Parameters:

(vehicleid)

vehicleid: The ID of the vehicle to check if streamed in.


Return Values:

true, if the vehicle is streamed in.
false, if the vehicle is not streamed in.



Example

if(IsVehicleStreamedIn(vehicleid))
{
  //Do something !
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.