continue and return 0 and return 1 and break work?
#3

Код:
UnoccupiedVehicle(vehicleid)
{
  foreach(Player, i)
  {
      if(IsPlayerInVehicle(i,vehicleid)) continue;
  }
  return 1;
}
Why this code didn't skip my id when i was in vehicle?

using return 0;

its skipping my id why?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)