IsVehicleStreamedIn

From SA-MP Wiki

Jump to: navigation, search

IsVehicleStreamedIn


Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.


Checks if a vehicle is streamed in for a player.


Parameters:
(vehicleid, forplayerid)
vehicleidThe ID of the vehicle to check whether it is streamed.
forplayeridThe ID of the player to check whether the vehicle is streamed in for.


Returns1 if the vehicle is streamed in, otherwise 0.


if(IsVehicleStreamedIn(100, playerid))
{
    SendClientMessage(playerid, COLOR_WHITE, "Vehicle 100 is streamed in for you!");
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools