NPC:IsVehicleStreamedIn
From SA-MP Wiki
Note | For the player version of this function, check NPC:IsPlayerStreamedIn. |
Description:
Checks if a vehicle is streamed in for an NPC. Only nearby vehicles are streamed in.
(vehicleid)
vehicleid | The ID of the vehicle to check. |
Return Values:
- 1: The vehicle is streamed in.
- 0: The vehicle is not streamed in.
Example Usage:
if(IsVehicleStreamedIn(vehicleid)) { // Do something }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- NPC:IsPlayerStreamedIn: Check if a player is streamed in for an NPC.