How to add a Anticheat Exception
#8

Look, I tried this:

Код:
if(AntiMoneyHack == 1)
			{
               if(IsPlayerInRangeOfPoint(i, 200, 2235.9165, 1603.2797, 1006.1818)){
               SetRealMoney(i, GetPlayerMoney(i));
                                    }else{
				if(PlayerGotSpottedRecently[i] == 0)
				{
				    if(Checked[i] == 0)
				    {
				        if(!IsAtCandySprunk(i))
				        {
							if(GetPlayerMoney(i) != ScriptMoney[i])
							{
							    if(ScriptMoneyUpdated[i] == 0)
							    {
								    if(IsAtPaySpray(i))
								    {
								        SetRealMoney(i, GetPlayerMoney(i));
									}

									if(IsAtTransfender(i))
									{
								        SetRealMoney(i, GetPlayerMoney(i));
									}
									if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500)
									{
									    if(admins == 0 || afkadmins == admins)
					        			{
				  							format(string, sizeof(string), "%s (%d), Foi Kickado pelo Anticheat Need_Ziinho Por Possivel Money Hack.", plname, i);
											SendClientMessageToAll(COLOR_NICERED, string);
											format(string, sizeof(string), "Vocк Foi Kickado pelo Anticheat Need_Ziinho Por Possivel Money Hack (R$%d)",(GetPlayerMoney(i) - ScriptMoney[i]));
											SendClientMessage(i,COLOR_LIGHTBLUE, string);
											format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat Kickou %s por: Money Hack (R$%d)",d,m,y,h,mi,s,plname,(GetPlayerMoney(i) - ScriptMoney[i]));
											KickLog(string);
											format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Kickado Pelo Anticheat - Money Hack.",d,m,y,h,mi,s,plname);
											AddPunishment(i, string);
											Kick(i);
										}
									    format(string, sizeof(string), "[AntiCheat]: %s (%d) Estб Possivelmente Usando Money Hack; Cheque-o Imediatamente!!", plname, i);
										SendAdminMessage(COLOR_YELLOW, string);
										PlayerSuspicious[i] = 1;
										PlayerMoneyHacking[i] = 1;
										PlayerSuspiciousMoney[i] = (GetPlayerMoney(i) - ScriptMoney[i]);
										PlayerGotSpottedRecently[i] = 1;
										SetTimerEx("ResetAcWarn", 300000, 0, "i", i);
									}
									else
									{
									    format(string, sizeof(string), "[Anticheat]: %s (%d) Estб bugado na Estimativa De Dinheiro, Cheque-o imediatamente!!", plname, i);
										SendAdminMessage(COLOR_YELLOW, string);
										PlayerSuspicious[i] = 1;
										PlayerOnCashInbalance[i] = 1;
										PlayerSuspiciousMoney[i] = (GetPlayerMoney(i) - ScriptMoney[i]);
										PlayerGotSpottedRecently[i] = 1;
										SetTimerEx("ResetAcWarn", 90000, 0, "i", i);
									}

								}
							}
						}
					}
				}
              }
			}
But i have some bugs yet.
Now, you are not kicked, but you cant win or lose money too. This script that I worked, is now returning the money to 'Normal Money', always when have some change.
Reply


Messages In This Thread
How to add a Anticheat Exception - by DexterBR - 01.12.2012, 12:47
Re: How to add a Anticheat Exception - by DexterBR - 01.12.2012, 15:34
Re: How to add a Anticheat Exception - by Faisal_khan - 01.12.2012, 15:36
Re: How to add a Anticheat Exception - by DexterBR - 01.12.2012, 16:52
Re: How to add a Anticheat Exception - by Memoryz - 01.12.2012, 17:05
Re: How to add a Anticheat Exception - by DexterBR - 01.12.2012, 20:35
Re: How to add a Anticheat Exception - by Konstantinos - 01.12.2012, 20:42
Re: How to add a Anticheat Exception - by DexterBR - 01.12.2012, 21:04
Re: How to add a Anticheat Exception - by DexterBR - 01.12.2012, 22:09
Re: How to add a Anticheat Exception - by DexterBR - 02.12.2012, 02:27

Forum Jump:


Users browsing this thread: 1 Guest(s)