IsVehicleStreamedIn

From NPC for VCMP 0.4 Servers
Revision as of 15:32, 15 March 2022 by 137.97.101.184 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.