SA-MP Forums Archive
[PEDIDO] ANTI-MH - 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: [PEDIDO] ANTI-MH (/showthread.php?tid=323211)



[PEDIDO] ANTI-MH - GuiihCamargo - 05.03.2012

Galera eu queria que vocкs tirassem o Anti-MH do meu Gamemode
Quem puder darei um obrigado , abraзo , deus le ilumine , vocк й um cara bem legal , parabens e +rep

[GM]: Clique aqui (Nгo deu no Pastebin entгo coloquei no mediafire)

@EDITED
Queria que tirassem o GivePlayerGrana e voltasse GivePlayerMoney e o o player perdesse/ganhasse o dinheiro, ou se puder me ensinar a trocar o GivePlayerMoney dos meus FS para GivePlayerGrana


Re: [PEDIDO] ANTI-MH - Lucas_Alemao - 05.03.2012

eu atй ajudaria mas odeio trabalhar em coisa q ta mal identada


Re: [PEDIDO] ANTI-MH - GuiihCamargo - 05.03.2012

Quote:
Originally Posted by Lucas_Alemao
Посмотреть сообщение
eu atй ajudaria mas odeio trabalhar em coisa q ta mal identada
Amigo , nгo tenho oque falar, queria que tirassem o GivePlayerGrana e voltasse GivePlayerMoney e o o player perdesse/ganhasse o dinheiro, ou se puder me ensinar a trocar o GivePlayerMoney dos meus FS para GivePlayerGrana


Re: [PEDIDO] ANTI-MH - Lucas_Alemao - 05.03.2012

LoL

Ctrl + H
primeiro quadrado: GivePlayerGrana
segundo quadrado: GivePlayerMoney

clique em substituir e substitua tudo

й isso?


Re: [PEDIDO] ANTI-MH - GuiihCamargo - 05.03.2012

Cara ja tentei , mais depois da erro , mais quem puder ajudar , vou tentar novamente! e se der erro novamente postarei!

@EDITED
DA MUITOS ERROS:
Код:
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(4653) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(4653) : warning 209: function "SetPlayerMoney" should return a value
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(6011) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(6806) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(10006) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(10211) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(12084) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(13015) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(14147) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(15199) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(15509) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(15777) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(15856) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(16021) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(16106) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(16144) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(16288) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(16585) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18067) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18086) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18130) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18221) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18294) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18587) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(18650) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(21539) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(21546) : warning 202: number of arguments does not match definition
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(21931) : error 021: symbol already defined: "GivePlayerMoney"
C:\Users\Guilherme\Desktop\Brasil Games\gamemodes\novogmsemcasa2.pwn(21955) : error 021: symbol already defined: "GivePlayerMoney"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: [PEDIDO] ANTI-MH - steeldark - 05.03.2012

Pega ai no attach files..
tirei os erros, e warms, e mudei pra giveplayermoney.. sу num testei apenas compila sem erros.
e axo q seu sv nгo tem Ant mh, nгo achei. ¬¬



Re: [PEDIDO] ANTI-MH - Ricop522 - 05.03.2012

pawn Код:
//Topo
#define GivePlayerMoney GivePlayerMoneyEx
#define GetPlayerMoney GetPlayerMoneyEx
#define ResetPlayerMoney ResetPlayerMoneyEx

new Money[MAX_PLAYERS];

//Connect

Money[playerid] = 0;

//Fim do gm

stock GivePlayerMoneyEx(p, c) return Money[p] += c, GivePlayerMoney(p, c);
stock GetPlayerMoneyEx(p) return Money[p];
stock ResetPlayerMoneyEx(p) return Money[p] = 0, ResetPlayerMoney(p, 0);
Anti MH bбsico, veja se entende a LУGICA.


Re: [PEDIDO] ANTI-MH - BiGThAsE - 05.03.2012

Esse gamemode pelo que eu vi estб todo mal indentado impossivel! nгo podemos ajuda-lo!


Re: [PEDIDO] ANTI-MH - GuiihCamargo - 05.03.2012

Quote:
Originally Posted by steeldark
Посмотреть сообщение
Pega ai no attach files..
tirei os erros, e warms, e mudei pra giveplayermoney.. sу num testei apenas compila sem erros.
e axo q seu sv nгo tem Ant mh, nгo achei. ¬¬
Entгo porque eu uso um FS de casa e um de radar que usa o GivePlayerMoney, so que quando eu passo no radar o meu dinheiro desce e volta, oque poderia ser? Anti-MH nгo?