new money = GetPlayerMoney(playerid); GivePlayerMoney(playerid, -money)// deduct the amount of money the player currently have
Why would you even think about doing that? You're using a variable, you're calling GetPlayerMoney, you're processing the subtraction and for what? To give the exact same effect as ResetPlayerMoney()...