03.05.2013, 09:24
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:
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);
}