Quote:
Originally Posted by Gamestar.
pawn Код:
stock IsAnyPlayerInVehicle(vehicleid) { new v_end = GetMaxPlayers(), i; for(i = 0; i < v_end; i++) if(IsPlayerConnected(i) && GetPlayerVehicleID(i) == vehicleid) break; return i < v_end; }
|
Nice, good work. But I don't understand why you returned i < v_end, can you explain it to me please?