Respawn all cars
#1

I've created this cmd , but i don't know why he didn't respawn all my 500's cars
pawn Код:
if (strcmp(cmdtext, "/rac", true) == 0 || strcmp(cmdtext, "/respawnallcars", true) == 0)
    {
      if(PlayerInfo[playerid][pAdmin] >= 1337)
      {
        SendClientMessage(playerid,UNKNOWN_CMD," All cars respawned !");
        for(new i = 0; i < 500; i++)
        {
          SetVehicleToRespawn(i);
          return 1;
        }
      }
      else
      {
        SendClientMessage(playerid,COLOR_WHITE,ADMIN_TEXT);
        return 1;
      }
    }
Reply


Messages In This Thread
Respawn all cars - by Danut - 21.02.2009, 19:37
Re: Respawn all cars - by Finn - 21.02.2009, 20:39
Re: Respawn all cars - by x-cutter - 22.02.2009, 00:23
Re: Respawn all cars - by ICECOLDKILLAK8 - 22.02.2009, 00:25
Re: Respawn all cars - by Danut - 22.02.2009, 07:00
Re: Respawn all cars - by Danut - 22.02.2009, 07:00
Re: Respawn all cars - by Mikep - 22.02.2009, 07:39
Re: Respawn all cars - by Danut - 22.02.2009, 07:41
Re: Respawn all cars - by Mikep - 22.02.2009, 07:43
Re: Respawn all cars - by Danut - 22.02.2009, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)