[Ajuda] Comando Deletar Veнculo
#4

Tenta assim:

pawn Код:
if (strcmp(cmd, "/dcv", true) == 0)
{
    if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pVip] >= 1)
    {
        for (new i = 0; i <= MAX_PLAYERS; i++)
        {
            if (IsPlayerConnected(i))
            {
                if (VehLimite[i] >= 1)
                {
                    DestroyVehicle(VehLimite[i]);
                    VehLimite[i] = 0;
                }
            }
        }
        SendClientMessage(playerid, COR_ERRO, "Veнculo Deletado!");
    }
    else
    {
        SendClientMessage(playerid, COR_ERRO, "Vocк nгo tem permissгo para usar este comando!");
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
[Pode Deletar o Tуpico] - by GustavinCTN - 14.04.2013, 04:23
Re: Comando Deletar Veнculo - by bruxo00 - 14.04.2013, 09:19
Re: Comando Deletar Veнculo - by GustavinCTN - 14.04.2013, 10:19
Re: Comando Deletar Veнculo - by iHarzard - 14.04.2013, 11:23
Re: Comando Deletar Veнculo - by bruxo00 - 14.04.2013, 11:30
Re: Comando Deletar Veнculo - by GustavinCTN - 14.04.2013, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)