Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by JaKe Elite
Did you make sure you have the codes that will reset the hacker's money back to it's original money?
|
Emh no i don't have that code...
Quote:
Originally Posted by Prokill911
PHP код:
public GetMoneyEx(playerid) {
return GetPVarInt(playerid, "Money");
}
public GiveMoneyEx(playerid, money) {
new bmoney = GetMoneyEx(playerid);
bmoney += money;
SetPVarInt(playerid, "Money", bmoney);
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, bmoney);
}
Try that.
|
I don't need another custom variabe, i already have one.