[Pedido] Coregedoria de policia
#1

Alguem tem sistema de corregedoria, aquela q puni os cops

E me encina como por?
Reply
#2

Aae cara eu tbm to querendo um porйm tentei fazer o meu mais ainda n ta dando certo tipo nao consigo tirar os leveis p puniзao de cops mesmo assim vou postar aki, p v se alguem pode ajudar concertar p nуs..estou tentando corrigir...assim q consegui eu posto
pawn Код:
if(strcmp(cmd,"/punir", true) == 0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(corregedor[playerid] == 1  || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
new tmp[256];
new plid;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)){
SendClientMessage(playerid, Vermelho, "Digite: /punir [id] [level] [Motivo]");
return 1;
}
plid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, Vermelho, "Digite: /punir [id] [level] [Motivo]");
return 1;
}
new pname[MAX_PLAYER_NAME];
GetPlayerName(plid, pname, MAX_PLAYER_NAME);
format(file2, sizeof(file2), PASTA_CONTAS, pname);
if(IsPlayerConnected(plid)){
format(string, sizeof(string), "* Vocк foi punido pelo corregedor %s %d leveis.", aname);
SendClientMessage(plid, tcadm, string);
format(string, sizeof(string), "* Vocк puniu o jogador %s %d levels.", pname);
SendClientMessage(playerid, Blue, string);
dini_IntSet(file2, "Level", dini_Int(file2, "Level"));
return 1;
}else{
SendClientMessage(playerid, Vermelho, "(INFO) Jogador nгo conectado.");
return 1;
}
}
}
Reply
#3

Qual seria a funзгo do comando? Explique melhor.
Reply
#4

O policial q nao segue as regras й punido pelo corregedor "x" leveis estabelecidos ..ex: roubo de carga = multa 600, se o policial multar errado visto q ja existe a regra de multar em 600, ele й punido pelo corregedor vamos supor "3" leveis..ai o cop n pode assumir a prof de policial ate cumprir a punicao de 3 leveis../punir id level motivo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)