SA-MP Forums Archive
[Ajuda] ajuda com arena de dm - 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] ajuda com arena de dm (/showthread.php?tid=161129)



[Ajuda] ajuda com arena de dm - [GET]Vidaloka - 18.07.2010

e ae galerinha,entгo,eu me matei mais consegui fazer uma arena de minigun onde os players nгo podem digitar nenhum outro teleporte. o problema й: meu gm tem um sistema anti minigun ae й claro que se o cara ir pra arena de minigun ele ganhara uma minigun e um ban lindo ¬¬' eu queria fazer algum jeito que todos possam usar a minigun somente na arena...

essa й a parte que bloqueia o uso de teleportes ae tbm ta a area da arena:
IfIsPlayerInMG(playerid){
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= -2027.728 && Y >= -2186.098 && X <= 245.9328 && Y <= -265.9405)return true; //mg
if(X > -2008.414 && X < -2189.96 && Y > -68,69224 && Y < 265.9405)return true; //mg
return false;
}

e esse й o sistema anti-minigun:

new WeData[13][2];
GetPlayerWeaponData(g, 7, WeData[7][0], WeData[7][1]);
if(WeData[7][0] == 3{
if(AntiShitEnabled && !IsPlayerAdminByLuby(g)){
new str[256];
format(str, 256, "[INFO]: %s Foi banido Automaticamente. Motivo: Weapon Cheater.", PlayerName(g));
SendClientMessageToAll(CADMIN, str);
ToLog("BansBronie", "%s Foi Banido Automaticamente.", PlayerName(g));
new tmp[256];
tmp = dini_Get(FILE_TOTALSTAT, "bans");
dini_IntSet(FILE_TOTALSTAT, "bans", strval(tmp)+1);
AddBannedPlayer(g, "Weapons Cheat");
}
}




Alguйm pode me ajudar?


Re: [Ajuda] ajuda com arena de dm - RoamPT - 19.07.2010

E que tal esperares sem fazeres double post?


Respuesta: Re: [Ajuda] ajuda com arena de dm - [GET]Vidaloka - 19.07.2010

Quote:
Originally Posted by RoamPT
Посмотреть сообщение
E que tal esperares sem fazeres double post?
ok entгo,vou esperar.....