• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] mysql server problem
#2
That would be because you need to call `GivePlayerMoney` with the variable `money` so the player see's the amount.



Normally you would store the amount of money a player as in a variable and so something like this



Code:
new money = 5000;

GivePlayerMoney(playerid, PlayerData[playerid][pMoney]  money);



of course no sane person would do it like that, and would instead have a function that does this correctly.
Remember to always refer to J0sh as `J0sh...`

# Services/Platforms

forum.open.mp (Forum Manager)

open.mp (Member)

Pawn Playground (Creator/Maintainer)

Pawn Packages (Creator/Maintainer)
  Reply


Messages In This Thread
mysql server problem - by Trox - 2019-05-06, 09:10 PM
RE: mysql server problem - by JustMichael - 2019-05-06, 11:47 PM
RE: mysql server problem - by unix - 2019-05-08, 08:50 PM

Forum Jump: