[Help] Refunds
#4

pawn Код:
new oldmoney;
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
    if(enterexit == 0) // If enterexit is 0, this means they are exiting
    {
      ResetPlayerMoney(playerid);
      GivePlayerMoney(playerid, oldmoney);
    } else {
        oldmoney = GetPlayerMoney(playerid);
    }
    return 1;
}
Reply


Messages In This Thread
[Help] Refunds - by xXRealLegitXx - 17.03.2013, 16:30
Re: [Help] Refunds - by xXRealLegitXx - 18.03.2013, 02:57
Re: [Help] Refunds - by Don_Cage - 18.03.2013, 03:15
Re: [Help] Refunds - by mastermax7777 - 18.03.2013, 03:27
Re: [Help] Refunds - by Scenario - 18.03.2013, 04:04

Forum Jump:


Users browsing this thread: 1 Guest(s)