Vice City Multiplayer

General Discussion => General Discussion => Topic started by: Tomiijaja on May 12, 2013, 10:31:29 pm

Title: A idea for 0.4 :p
Post by: Tomiijaja on May 12, 2013, 10:31:29 pm
i have a idea to the 0.4.

fix "GivePlayerMoney" in pawn, the bug is, when a player use that function, doesnt INCREASE the cash, only GIVE, right? is like a SetPlayerCash...

Sorry my bad english :p
Title: Re: A idea for 0.4 :p
Post by: stormeus on May 12, 2013, 10:40:16 pm
I think this was already done.
Title: Re: A idea for 0.4 :p
Post by: Tomiijaja on May 12, 2013, 10:41:31 pm
I think this was already done.
Oh!, Nice!, i love you VC:MP developers :*
Title: Re: A idea for 0.4 :p
Post by: sseebbyy on May 12, 2013, 11:01:36 pm
But you can use another method to increase/decrease the cash of a player until the 0.4 stable version is released:

Code: [Select]
new money = GetPlayerMoney(playerid);
SetPlayerMoney(playerid, money +amount); // With this, you can increase the player's cash. Use " - " if you want to decrease.
Title: Re: A idea for 0.4 :p
Post by: Tomiijaja on May 12, 2013, 11:07:23 pm
But you can use another method to increase/decrease the cash of a player until the 0.4 stable version is released:

Code: [Select]
new money = GetPlayerMoney(playerid);
SetPlayerMoney(playerid, money +amount); // With this, you can increase the player's cash. Use " - " if you want to decrease.
For the new persons in pawn, is more easy use GivePlayerMoney but fixed.