Anti money hack
#7

use this public.

pawn Код:
public MoneyTimer()
{
new username[MAX_PLAYER_NAME];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(!IsPlayerAdmin(playerid))//this will check if player is not an admin use your scritped var for admin
{
if(GetPlayerCash(i) != GetPlayerMoney(i))
{
ResetMoneyBar(i);//Resets the money in the ori
UpdateMoneyBar(i,GetPlayerCash(i));//Sets the money
new hack = GetPlayerMoney(i) - GetPlayerCash(i)
GetPlayerName(i,username,sizeof(username));
printf("%s has picked up/attempted to spawn $%d
}
}
}
}
}
Reply


Messages In This Thread
Anti money hack - by ]Rafaellos[ - 11.03.2012, 07:31
Re: Anti money hack - by vakhtang - 11.03.2012, 07:33
Re: Anti money hack - by Reklez - 11.03.2012, 07:41
Re: Anti money hack - by ]Rafaellos[ - 11.03.2012, 08:49
Re: Anti money hack - by Shabi RoxX - 11.03.2012, 08:58
Re: Anti money hack - by ]Rafaellos[ - 11.03.2012, 09:13
Re: Anti money hack - by Shabi RoxX - 11.03.2012, 09:24
Re: Anti money hack - by ]Rafaellos[ - 11.03.2012, 09:39
Re: Anti money hack - by ]Rafaellos[ - 11.03.2012, 11:23

Forum Jump:


Users browsing this thread: 2 Guest(s)