[Ajuda] Ajuda
#3

PHP код:
if(strcmp(cmd,"/a",true)==0)
{
    new 
aname[MAX_PLAYER_NAME];
    
GetPlayerName(playeridanameMAX_PLAYER_NAME);
    
format(filesizeof(file), P_CONTASaname);
    if(
pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == 5)
    {
        new 
tmp[256];
        
strmid(tmp,cmdtext,2,strlen(cmdtext));
        if(!
strlen(tmp))
        {
            
SendClientMessage(playerid,admcmd"Digite: /a [texto]");
            return 
1;
        }
         else
        {
            
format(stringsizeof(string), "[Admin] %s diz: %s "anametmp);
            
SendClientMessageToAll(azulstring);
            return 
1;
        }
    }
    else
    {
        
SendClientMessage(playerid,Vermelho,"{0099FF}[x]{CCCCFF} Vocк nгo tem acesso a esse comando!");
        return 
1;
    }

Reply


Messages In This Thread
Ajuda - by AssasinoLM - 04.03.2014, 14:47
Re: Ajuda - by drop - 04.03.2014, 14:54
Re: Ajuda - by yNexus - 04.03.2014, 14:57
AW: Ajuda - by AdrianDias - 06.03.2014, 01:32

Forum Jump:


Users browsing this thread: 1 Guest(s)