safe money sysem with MySQL
#1

How to make it exactly?
I put code
pawn Код:
if(GetPlayerMoney(playerid) != PlayerInfo[playerid][pMoney])
    {
        ResetPlayerMoney(playerid);
        GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
    }
Or should i use it like that? But doese its enaught to be secured?
pawn Код:
if(IsLogged[playerid] == 1) {
    if(GetPlayerMoney(playerid) != PlayerInfo[playerid][pMoney])
    {
        ResetPlayerMoney(playerid);
        GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
    }
}
Reply


Messages In This Thread
safe money sysem with MySQL - by ArmyOps - 27.02.2012, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)