Vehicle Streaming [Q]
#4

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Surely you could use IsPlayerInRangeOfPoint?

For example:

pawn Код:
stock IsVehicleStreamedInForPlayer(playerid, vehicleid)
{
     new Float:x, Float:y, Float:z;
     GetVehiclePos(vehicleid, x, y, z);
     if(IsPlayerInRangeOfPoint(playerid, 15.0, x, y, z) return 1;
     return 0;
}
returns 1 if they are near enough the vehicle, 0 otherwise.
What's the distance when the cars get streamed?
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)