Vehicle Streaming [Q]
#6

Quote:
Originally Posted by wups
Посмотреть сообщение
You can't even make a code like this?
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;
}
Great!

Didn't think about that.
Reply


Messages In This Thread
Vehicle Streaming [Q] - by scottyishere - 19.12.2010, 07:14
Re: Vehicle Streaming [Q] - by Mean - 19.12.2010, 07:45
Re: Vehicle Streaming [Q] - by Ash. - 19.12.2010, 07:48
Re: Vehicle Streaming [Q] - by scottyishere - 19.12.2010, 08:36
Re: Vehicle Streaming [Q] - by wups - 19.12.2010, 08:40
Re: Vehicle Streaming [Q] - by scottyishere - 19.12.2010, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)