[Ajuda] desalgemar bugado
#1

Bem Pessoal Venho Aki Pedir Mais Uma Ajudinha Para vcs !

Tipo pessoal quando do /desalgemar o cara continuar parado e nгo se meche fica paradгo

ai meus codico

PHP код:
if(strcmp(cmd"/desalgemar"true) == 0) {
new 
aname[MAX_PLAYER_NAME];
GetPlayerName(playeridanameMAX_PLAYER_NAME);
format(filesizeof(file), PASTA_CONTASaname);
if(
dini_Int(file"Profissao") == Policia_Militar || dini_Int(file"Profissao") == Policia_Civil || dini_Int(file"Profissao") == Policia_Federal || dini_Int(file"Profissao") == Delegado || dini_Int(file"Profissao") == Bope || dini_Int(file"Profissao") == Swat || dini_Int(file"Profissao") == Narcoticos || dini_Int(file"Profissao") == FBI || dini_Int(file"Profissao") == Interpol || dini_Int(file"aAdmin") == 1){
new 
tmp[256];
new 
plid;
tmp strtok(cmdtextidx);
if(!
strlen(tmp)){
SendClientMessage(playeridVermelho"/desalgemar [id]");
return 
1;
}
plid strval(tmp);
if(
plid == playerid){
SendClientMessage(playeridVermelho"Vocк nгo pode fazer isto com si mesmo.");
return 
;
}
if(!
IsPlayerConnected(plid)){
SendClientMessage(playeridVermelho"O jogador nгo estб conectado");
return 
1;
} else {
if(
GetDistanceBetweenPlayers(plid,playerid) < 10){
format(stringsizeof(string), "(INFO) O jogador %s te desalgemou."aname);
GameTextForPlayer(plid,"~w~Desalgemado"250003);
SendClientMessage(plid0x8C8CFFAAstring);
SendClientMessage(playerid0x8C8CFFAA"(INFO) Desalgemado com sucesso.");
algemado[plid] = 0;
return 
1;
} else {
SendClientMessage(playerid,Vermelho," Chegue mais perto para desalgemar.");
return 
1;
}
}
} else {
SendClientMessage(playerid,Vermelho,"(ERRO) Vocк nгo й um policial!");
return 
1;
}

Reply


Messages In This Thread
desalgemar bugado - by Matei123 - 29.07.2015, 21:18
Re: desalgemar bugado - by Cleyson - 29.07.2015, 21:25
Re: desalgemar bugado - by Matei123 - 29.07.2015, 21:55
Re: desalgemar bugado - by Cleyson - 29.07.2015, 21:59
Re: desalgemar bugado - by Matei123 - 30.07.2015, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)