Como arrumar isso ..... -
Re: Como arrumar isso ..... -
Re: Como arrumar isso ..... -
Re: Como arrumar isso ..... -
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;
}
}
Re: Como arrumar isso ..... -
Re: Como arrumar isso ..... -