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

Alguem sabe como eu arrumo isso ? Ja tentei arrumar mas nгo deu :/ ...

Reply
#2

Posta o cуdigo
Reply
#3

manda o cуdigo, mais й por isso aqui:

PHP Code:
cmdtext,1,strlen(cmdtext)); 
almente para 6

PHP Code:
cmdtext,6,strlen(cmdtext)); 
Reply
#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
#5

Vlw deu certo yNexus
Reply
#6

Faz o que o yNexus disse acima e resolverб
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)