[AJUDA] GangZone - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] GangZone (
/showthread.php?tid=312554)
[AJUDA] GangZone -
guilhermeghc@hotmail.com - 21.01.2012
Galera eu tenho um Anti-DM so que ele ta em um bang que quando vocк mata qualquer pessoa pode ser em gang zone ou nгo vocк vai preso , so nгo й preso quando vocк vai pra algum evento em /irevento e mata alguem , so assim bom estarei postando o anti-dm:
ANTI-DM:
pawn Код:
if(dini_Int(file2, "DM") == 1){
new string[256];
format(string, sizeof(string), "* %s matou %s e estб Preso!",kname, aname);
SendClientMessageToAll(0x007CF9AA, string);
dini_IntSet(file2, "Procurado", 0);
Procurados[killerid] = 0;
SetPlayerWantedLevel(killerid, 0);
SetPlayerPos(killerid, 263.8820,77.4002,1001.0391);
SetPlayerInterior(killerid, 6);
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
SetPlayerHealth(killerid, 99999);
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
ResetPlayerWeapons(killerid);
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
dini_IntSet(file2, "Preso", 1);
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
SetPlayerWantedLevel(killerid, 0);
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
Preso[killerid] = 1;
SendClientMessage(killerid, GREEN, "VAI FAZER DM NA CASA DO CARALHO! FOI PRESO MERMO.");
TogglePlayerControllable(killerid, 1);
SendDeathMessage(killerid,playerid,reason);
}
return 1;
}
Coisas quando estб no evento:
pawn Код:
if(noevento[playerid] == 1){
new string[256];
format(string, sizeof(string), "* %s matou alguem no Evento/Favela e nгo foi colocado na lista de procurados! (DM Liberado)",kname,aname);
SendClientMessageToAll(msgdm3, string);
return 1;
}
Coisas no DmLiberado2 (GANGZONE DA FAVELA):
pawn Код:
if(DMLiberado2[playerid] == 1){
new string[256];
format(string, sizeof(string), "* %s matou %s na Evento/Favela e nгo foi colocado na lista de procurados! (DM Liberado)",kname, aname);
SendClientMessageToAll(0xA80000AA, string);
ClearAnimations(playerid);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
TogglePlayerControllable(playerid, 1);
return 1;
}
Resumo: Eu queria que vocкs mesclassem o DmLiberado2 no ANTI-DM , porque quando eu mato na gangzone da favela eu vo preso tbm... Nгo Entendeu? POSTA
Re: [AJUDA] GangZone -
WeenSoares_ - 21.01.2012
@TOPIC
Entendi nada.
@OFF
Menssagens criativas !
Re: [AJUDA] GangZone -
guilhermeghc@hotmail.com - 21.01.2012
Resumo: Eu queria que vocкs mesclassem o DmLiberado2 no ANTI-DM , porque quando eu mato na gangzone da favela eu vo preso tbm... Nгo Entendeu? POSTA
Re: [AJUDA] GangZone -
DarkScripter - 24.01.2012
http://pastebin.com/XhtgEPc3
achei esta funзгo, espero ter Ajudado^^.