04.09.2010, 01:00
Ohh I got suggestion idk if you people will like it, but instead of doing two parameters in the functions (cent,dollar) you should do
Then you could do:
Then you could just split the string with the deliminator of '.' then use strval to convert. Just my suggestion. Also TakePlayerMoneyEx inst needed because you can just give someone a negative amount of money.
Код:
GivePlayerMoneyEx(playerid, amount[]);
pawn Код:
GivePlayerMoneyEx(playerid, "2500.50");