17.03.2013, 16:30
How could I refund someone for their transfender purchase or their sprunk purchase?
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;
}