Author Topic: Negative Cash  (Read 80 times)

Fen1x

  • Moderators
  • Newbie
  • *
  • Posts: 32
    • View Profile
Negative Cash
« on: February 04, 2013, 06:51:08 pm »
Your name: Fen1x

Give a clear description of the bug: If a player has got 0 money and if he gets killed, he loses some money. And he gets negative money. So we need an anti-negative money script.

Did this ever happen to you before?: Yes, this happened to me too.


Found On SA:MP Forum:
Code: [Select]
new money = GetPlayerMoney(playerid);
if(money < 0) ResetPlayerMoney(playerid);


Evidence:



Share on Bluesky Share on Facebook


chronic

  • Im Chronic The Owner of this Serverr
  • Owner
  • Senior
  • *
  • Posts: 471
    • View Profile
Re: Negative Cash
« Reply #1 on: February 04, 2013, 08:06:36 pm »
It's not a bug ffs. It's suppose to do that. When a player dies he gets -500 taken from his money. so when he die and have 0 dollars it be -500. he'll be in debt!