All pastes #160260 Raw Edit

Mine

public text v1 · immutable
·published 2006-09-04 00:36 UTC
rendered paste body
 	SendClientMessageToAll(COLOR_WHITE, "G: Starting DriverID loop...");
	for(new i=0; i<MAX_PLAYERS;i++)
	{
if(isplayerconnected(i))
{
	    //We dont want to scan the passenger player ID..
	    if(i != passengerplayerid)
	    {
		    //Check if this player is inside the vehicle ID Supplied
			if(IsPlayerInAnyVehicle(i)) {		    
				if(IsPlayerInVehicle(i,vehicleid)) {
 					SendClientMessageToAll(COLOR_WHITE, "H: Found a player in the given vehicleid");
					Result = i;
					break;
		    		}
			}
		}
}
	}