[Ajuda] Como arrumar isso .....
#4

Code:
if(strcmp(cmd,"/tmega",true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Temac) {
new tmp[128];
//new msg[256];
strmid(tmp,cmdtext,2,strlen(cmdtext));
if(!strlen(tmp)) {
SendClientMessage(playerid,LARANJA, "Digite: /tmega [texto]");
return 1;
} else {
format(string, sizeof(string), "O Temac %s diz: %s ", aname, tmp);
SendClientMessageToAll(C_Temac,string);
return 1;
}
}else{
SendClientMessage(playerid,Vermelho,"(ERRO) Vocк nгo tem permissгo!");
return 1;
}
}

if(strcmp(cmd,"/v",true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(vip[playerid] == 1) {
new tmp[256];
//new msg[256];
strmid(tmp,cmdtext,2,strlen(cmdtext));
if(!strlen(tmp)) {
SendClientMessage(playerid,LARANJA, "Digite: /v [texto]");
return 1;
} else {
format(string, sizeof(string), "O VIP Anuncia %s diz: %s ", aname, tmp);
SendClientMessageToAll(C_Mecanico,string);
return 1;
}
}else{
SendClientMessage(playerid,Vermelho,"(ERRO) Vocк nгo tem permissгo!");
return 1;
}
}
Reply


Messages In This Thread
Como arrumar isso ..... - by LucasTadeu - 28.02.2014, 20:28
Re: Como arrumar isso ..... - by N3XTMapper - 28.02.2014, 20:38
Re: Como arrumar isso ..... - by yNexus - 28.02.2014, 20:40
Re: Como arrumar isso ..... - by LucasTadeu - 28.02.2014, 20:40
Re: Como arrumar isso ..... - by LucasTadeu - 28.02.2014, 20:43
Re: Como arrumar isso ..... - by N3XTMapper - 28.02.2014, 20:43

Forum Jump:


Users browsing this thread: 4 Guest(s)