OnPlayerDeath bug
#6

PHP код:
stock ResetPlayerMoneyEx(playerid)
{
    if(
IsValidPlayer(playerid))
    {
        
PlayerInfo[pMoney][playerid]=0;
        return 
ResetPlayerMoney(playerid);
    }
    return 
0;
}
stock GetPlayerMoneyEx(playerid)
{
    if(
IsValidPlayer(playerid))
    {
        new 
money=GetPlayerMoney(playerid);
         if(
money<PlayerInfo[pMoney][playerid] || !ServerVariables[ANTI_MONEYHACK])
              return 
money;
        return 
PlayerInfo[pMoney][playerid];
    }
    return 
0;

Reply


Messages In This Thread
OnPlayerDeath bug - by TaiChi - 12.04.2015, 12:05
Re: OnPlayerDeath bug - by Misiur - 12.04.2015, 13:10
Re: OnPlayerDeath bug - by ATGOggy - 12.04.2015, 13:14
Re: OnPlayerDeath bug - by Abagail - 12.04.2015, 13:16
Re: OnPlayerDeath bug - by ATGOggy - 12.04.2015, 13:21
Re: OnPlayerDeath bug - by TaiChi - 12.04.2015, 13:54
Re: OnPlayerDeath bug - by TaiChi - 13.04.2015, 09:47
Re: OnPlayerDeath bug - by TaiChi - 15.04.2015, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)