[Ajuda] Algemas 0.3e Nao Aparece!!
#1

Olбa pessoal, bom hoje estive vendo as algemas do 0.3e e axei legal e fiquei afim de por no meu server

a algema aparece, mais o player nao fica com as maos pra traz !!

Comando:
pawn Код:
if(strcmp(cmd, "/algemar", 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") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || 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, "Profissao") == LSPD || dini_Int(file, "aAdmin") == 1){
new tmp[256];
new plid;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)){
SendClientMessage(playerid, Vermelho, "(ERRO) Use: /algemar [id]");
return 1;
}
plid = strval(tmp);
if(IsPlayerInAnyVehicle(plid) == 1 || IsPlayerInAnyVehicle(playerid) == 1){
SendClientMessage(playerid, Vermelho, "(ERRO) Alguem estб dentro de um carro.");
return 1 ;
}
if(plid == playerid){
SendClientMessage(playerid, Vermelho, "(ERRO) Vocк nгo pode algemar vocк mesmo.");
return 1 ;
}
if(!IsPlayerConnected(plid)){
SendClientMessage(playerid, Vermelho, "(ERRO) O jogador nгo estб conectado");
return 1;
} else {
if(GetDistanceBetweenPlayers(plid,playerid) < 10){
format(string, sizeof(string), "[Info-RedBull] O Policial [ %s ] te algemou.", aname);
SendClientMessage(plid, Blue, string);
TogglePlayerControllable(plid, 0);
SendClientMessage(playerid, COLOR_GREEN, "[Info-RedBull] Algemado com sucesso.");
algemado[plid] = 1;
SetPlayerAttachedObject(plid, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
SetPlayerSpecialAction(plid, SPECIAL_ACTION_CUFFED);
return 1;
} else {
SendClientMessage(playerid,Vermelho,"(ERRO) Chegue mais perto para algemar.");
return 1;
}
}
} else {
SendClientMessage(playerid,Vermelho,"(ERRO) Apenas policiais podem usar este comando.");
return 1;
}
}
Reply
#2

vc compilou com as funзхes do samp 3e?
Reply
#3

"YES"
Quais As Funзхes ??
Onde Pego, Seila
Reply
#4

seria as includes do samp 3e
a_samp, etc...
Reply
#5

Ahhh, Tenho Simm

Sabe Link Para Eu Conferir e Atualizar Denovo ??
Reply
#6

http://files.sa-mp.com/samp03e_svr_win32.zip
pasta pawno/includes ta la as novas '-'

@off celular rosa hum...
Reply
#7

Brigadгo Aii... +Repu Por Que Ajudaram
Reply
#8

@off: qual й o problema seu preconceituoso ?!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)