[Ajuda] Explicaзхes
#5

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
pawn Код:
CMD:leveladmin(playerid)
{
    if(PlayerInfo[playerid][zAdmin] == 0)
    {
        SendClientMessage(playerid, -1, "Voce nao й Admin);    
    }  
    else if(PlayerInfo[playerid][zAdmin] == 1)
    {
        SendClientMessage(playerid, -1, "
Voce й Admin Level 1);    
    }
    else if(PlayerInfo[playerid][zAdmin] == 2)
    {
        SendClientMessage(playerid, -1, "Voce й Admin Level 2);    
    }
    else if(PlayerInfo[playerid][zAdmin] == 3)
    {
        SendClientMessage(playerid, -1, "
Voce й Admin Level 3);    
    }
    else if(PlayerInfo[playerid][zAdmin] == 4)
    {
        SendClientMessage(playerid, -1, "Voce й Admin Level 4);    
    }
    else if(PlayerInfo[playerid][zAdmin] == 5)
    {
        SendClientMessage(playerid, -1, "
Voce й Admin Level 5);    
    }
    return 1;
}

// Caso o PlayerInfo nao seja sua variavel troque pela sua ....
Vocк esqueceu de fechar as aspas.

Assim й muito mais fбcil :
pawn Код:
CMD:leveladmin(playerid)
{

    new VBString[24];
    format(VBString, 24, "Vocк й Admin level %d.", zAdmin[playerid]);
    SendClientMessage(playerid, -1, VBString);
    return true;
}
Reply


Messages In This Thread
Explicaзхes - by Gabriel Santana - 20.08.2012, 19:43
Re: Explicaзхes - by Kuddy - 20.08.2012, 19:49
Re: Explicaзхes - by Maklister - 20.08.2012, 19:52
Re: Explicaзхes - by humildadeforever - 20.08.2012, 19:56
Re: Explicaзхes - by ViniBorn - 20.08.2012, 19:57
Re: Explicaзхes - by Gabriel Santana - 20.08.2012, 19:58
Re: Explicaзхes - by ViniBorn - 20.08.2012, 19:59
Re: Explicaзхes - by Maklister - 20.08.2012, 20:07
Re: Explicaзхes - by humildadeforever - 20.08.2012, 20:13
Re: Explicaзхes - by Gabriel Santana - 20.08.2012, 20:14

Forum Jump:


Users browsing this thread: 3 Guest(s)