Adding to stats
#1

I have

pawn Код:
pInfo[playerid][Cash]
And I want to add +2500 when I do my command. How do I make it take the value and add 2500 to the player's cash?
Reply
#2

pawn Код:
pInfo[playerid][pCash] += 2500
will add 2500 to whatever value pCash is currently set to. GivePlayerMoney somewhere along side that line for looks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)