[Help] Refunds
#1

How could I refund someone for their transfender purchase or their sprunk purchase?
Reply
#2

- BUMP need help please.
Reply
#3

give money back?
Reply
#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
#5

The only thing you could do in regards to determining a sprunk purchase is check to see if a player's money decreases by 1. If it did, then it's likely to be a sprunk purchase. :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)