Posts: 2,938
Threads: 162
Joined: May 2010
pawn Код:
stock GiveScash(playerid, cash)
{
PlayerInfo[playerid][Scash] = PlayerInfo[playerid][Scash] + cash;
return PlayerInfo[playerid][Scash];
}
stock SetScash(playerid, cash)
{
PlayerInfo[playerid][Scash] = cash;
return PlayerInfo[playerid][Scash];
}
stock ResetScash(playerid)
{
return PlayerInfo[playerid][Scash] = 0;
}
doesnt work..?
Posts: 687
Threads: 28
Joined: Mar 2010
Reputation:
0
Show where you know it doesn't work. The money hack timer.
Posts: 2,938
Threads: 162
Joined: May 2010
Posts: 1,363
Threads: 14
Joined: Apr 2009
Reputation:
0
add in them
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,PlayerInfo[playerid][Scash]);
just going from memory, those functions might be a lil different but you're just changing the server side variable and not what they will see
Posts: 2,938
Threads: 162
Joined: May 2010
are u sure this will work cus NO OTHER ANTI CHEAT works for me
edit. also i didnt understand ur tut.
also how about a getplayercash?
Posts: 1,494
Threads: 120
Joined: Dec 2009
Reputation:
0
lol his TuT is confusing a little && no other anti cheat fully works anymoar
Posts: 2,938
Threads: 162
Joined: May 2010
how the hell do i make it give me my cash
pawn Код:
GivePlayerMoney(playerid, - GetPlayerMoney(playerid) + dini_Int(pfile, "Money"));
Posts: 791
Threads: 93
Joined: Oct 2009
Reputation:
0
Omg.. my tuturial for anticheat.. maybe is confusing, but it works only with one bug.. - Food and Drink automats - the money wont be taking off...
Wont advertise.. If you want you can check it on our server (Latvian language) noone can hack even if binding keys for depositing etc... (PM)
The timer is used for only showing the money but ofcourse you can even disable greemoney and make a textdraw to show money..
Kar...
ResetPlayerMoney(playerid);
And then
GivePlayerMoney(playerid,dini.....);