[Ajuda] Ajuda
#4

Posso ajudar ?

pawn Код:
if(strcmp(cmd,"/a",true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
new tmp[256];
//new msg[256];
strmid(tmp,cmdtext,2,strlen(cmdtext));
if(!strlen(tmp)) {
SendClientMessage(playerid,Vermelho, "Digite: /a [texto]");
return 1;
} else {
format(string, sizeof(string), "* Administrador(a) %s: %s", aname, tmp);
SendClientMessageToAll(AdminCor,string);
return 1;
}
}else{
SendClientMessage(playerid,Vermelho,"| ERRO | Vocк nгo tem permissгo!");
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: 2 Guest(s)