Reseting money when I dont want It to! - Help
#4

What I do is

On each command, or system which gives player money, I ResetPlayerMoney, update the Player Variable, and then use GivePlayerMoney(playerid, PlayerVariable[playerid][pMoney]); so they get money according to their variable

and, OnPlayerUpdate, I check that the money is not greater than the variable , if its greater than the variable, then ResetPlayerMoney and GivePlayerMoney(just as above) and Send a message to admin about Player trying to hack
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)