Vehicles Respawn/Crashes Question
#6

pawn Код:
if(strcmp(cmdtext,"/checkvehicles",true)==0)
    {
      new tmp,tmp2[213];
      for(new i; i<MAX_VEHICLES;i++)
      {
        if(GetVehicleModel(i))
        {
          tmp++;
          tmp2[GetVehicleModel(i)-400]++;
        }
      }
      new tmp3;
      for(new i; i<213;i++)if(tmp2[i])tmp3++;
      format(tmp2,sizeof(tmp2),"%d vehicles -- %d vehicle types.",tmp,tmp3);
      return SendClientMessage(playerid,0xFF0000FF,tmp2);
    }
Reply


Messages In This Thread
Vehicles Respawn/Crashes Question - by YamahaYZ - 27.04.2009, 12:21
Re: Vehicles Respawn/Crashes Question - by MenaceX^ - 27.04.2009, 12:46
Re: Vehicles Respawn/Crashes Question - by YamahaYZ - 27.04.2009, 13:54
Re: Vehicles Respawn/Crashes Question - by Joe Staff - 27.04.2009, 15:02
Re: Vehicles Respawn/Crashes Question - by Andom - 27.04.2009, 16:31
Re: Vehicles Respawn/Crashes Question - by Joe Staff - 27.04.2009, 16:50
Re: Vehicles Respawn/Crashes Question - by YamahaYZ - 27.04.2009, 17:38
Re: Vehicles Respawn/Crashes Question - by [eLg]Timmy - 27.04.2009, 17:52
Re: Vehicles Respawn/Crashes Question - by YamahaYZ - 28.04.2009, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)