pawn Код:
new bool:Streamed[MAX_VEHICLES][MAX_PLAYERS];
public OnPlayerConnect(playerid) for(new i;i<MAX_VEHICLES;i++) Streamed[i][playerid]=false;
stock IsVehicleStreamedInForPlayer(playerid,vehicleid) return Streamed[vehicleid][playerid];
public OnVehicleStreamIn(vehicleid,forplayerid)
{
Streamed[vehicleid][playerid]=true;
}
public OnVehicleStreamOut(vehicleid,forplayerid)
{
Streamed[vehicleid][playerid]=false;
}