[AJUDA]Quando uso /trazerbopes o server fecha.
#1

Galera tф com um problema aqui quando uzo /trazerbopes e /trazercvs o server fecha :/ serб que poderiгo me ajudar ?

Код:
if(strcmp(cmd, "/trazercvs", true) == 0)
    {
        new Float:PlayerPos[3];
        GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
        for(new x = 0, y = GetMaxPlayers(); x != y; x++)
        {
            if(PlayerInfo[playerid][pCV] >= 5)
            {
                SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
            }
        }
                            {
                                        format(string, sizeof(string), "Adm.Cmd: %s trouxe todos os CVS.", sendername);
                                        SendClientMessageToAll(COLOR_ADM, string);
                                }
        return 1;
    }
if(strcmp(cmd, "/trazerbopes", true) == 0)
    {
        new Float:PlayerPos[3];
        GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
        for(new x = 0, y = GetMaxPlayers(); x != y; x++)
        {
            if(PlayerInfo[playerid][pBOPE] >= 5)
            {
                SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
            }
        }
                            {
                                        format(string, sizeof(string), "Adm.Cmd: %s trouxe todos os BOPE.");
                                        SendClientMessageToAll(COLOR_ADM, string);
                                }
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)