Need help with Anti-Money Hack!
#1

i have an anti cheat system that was working perfectly but suddenly the anti money cheat does no longer works can someone help me please? notice that i use YSI to save Cash

Here is the code:
Код:
public OnPlayerUpdate(playerid)
{
	if(GetPlayerMoney(playerid) > PlayerInfo[playerid][pCash] || GetPlayerMoney(playerid) < PlayerInfo[playerid][pCash])
	{
		GivePlayerMoney(playerid,PlayerInfo[playerid][pCash] - GetPlayerMoney(playerid));
		return 1;
	}
	new armedweapon = GetPlayerWeapon(playerid);
	new Name[MAX_PLAYER_NAME],string[128];
	GetPlayerName(playerid,Name,sizeof(Name));
	if(armedweapon == 38)
	{
		if(PlayerInfo[playerid][pAdmin] < 1)
		{
		    format(string,sizeof(string),"AdmCmd: %s was banned by the server, Reason: Minigun Cheats",Name);
		    SendClientMessageToAll(COLOR_RED1,string);
			BanEx(playerid,"Minigun Cheats");
		}
	}
	return 1;
}
Reply


Messages In This Thread
Need help with Anti-Money Hack! - by adithegman - 28.10.2012, 18:24
Re: Need help with Anti-Money Hack! - by gtakillerIV - 28.10.2012, 18:50
Re: Need help with Anti-Money Hack! - by adithegman - 28.10.2012, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)