GivePlayerMoney is called when player spawning
#1

Heey all,

Anyone noticed when you spawning you getting 100 dollar.
Does anyone knows in how to remove this?
I already searched my script for GivePlayerMoney but didnt find it.
I need this for my anti money hack cause i am using server side money and when players
spawning they getting kicked by this.

Thanks Admigo

EDIT:
pawn Код:
if(GetPlayerServerMoney(i) != GetPlayerMoney(i))
        {
            ResetPlayerServerMoney(i);//Resets the money in the original moneybar, Do not remove!
            GivePlayerMoney(i,GetPlayerServerMoney(i));//Sets the money in the moneybar to the serverside cash, Do not remove!
            new hack = GetPlayerMoney(i) - GetPlayerServerMoney(i);
            printf("%s has picked up/attempted to spawn $%d.", GetPlayeridName(i),hack);
            PlayerInfo[i][KickCount]++;
            Kick(i);
        }
Reply


Messages In This Thread
GivePlayerMoney is called when player spawning - by Admigo - 03.05.2013, 09:24
AW: GivePlayerMoney is called when player spawning - by HurtLocker - 03.05.2013, 09:42
Re: GivePlayerMoney is called when player spawning - by SimpalK - 03.05.2013, 10:42
Re: GivePlayerMoney is called when player spawning - by Admigo - 03.05.2013, 11:46
Re: GivePlayerMoney is called when player spawning - by lean1337 - 03.05.2013, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)