anti money cheathelp
#5

Just follow my tuturial - will find on tuturials page..

pawn Код:
stock GiveScash(playerid, cash)
{
    PlayerInfo[playerid][Scash]  += cash;
    //dont know about returns - check wiki - in search type "stock"
}

stock SetScash(playerid, cash)
{
    PlayerInfo[playerid][Scash] = cash;
}

stock ResetScash(playerid)
{
    PlayerInfo[playerid][Scash] = 0;
}
also need a small timer for showing the money (Green money)

In the Timer Put
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
     if(GetPlayerMoney(i) != PlayerInfo[i][Scash])
     {
            ResetPlayerMoney(i);
            GivePlayerMoney(i,PlayerInfo[i][Scash]);
     }
}
Reply


Messages In This Thread
anti money cheathelp - by Kar - 31.07.2010, 01:11
Re: anti money cheathelp - by Carlton - 31.07.2010, 01:14
Re: anti money cheathelp - by Kar - 31.07.2010, 01:15
Re: anti money cheathelp - by cessil - 31.07.2010, 02:15
Re: anti money cheathelp - by GaGlets(R) - 31.07.2010, 03:57
Re: anti money cheathelp - by Kar - 31.07.2010, 04:02
Re: anti money cheathelp - by willsuckformoney - 31.07.2010, 04:23
Re: anti money cheathelp - by Kar - 31.07.2010, 04:26
Re: anti money cheathelp - by cessil - 31.07.2010, 05:48
Re: anti money cheathelp - by GaGlets(R) - 31.07.2010, 06:23

Forum Jump:


Users browsing this thread: 4 Guest(s)