SafeGivePlayerMoney
#1

-----------
Reply
#2

Код:
PlayerInfo[plyid][pCash] += amounttogive;
Reply
#3

-----------
Reply
#4

It works too ? Just player's money goes to negative.
Reply
#5

-----------
Reply
#6

No, - ammounttogive
Reply
#7

I just gave example for you.
Use
Код:
PlayerInfo[plyid][pCash] -= amounttogive;
Reply
#8

Never been to school?

1 + 1 = 2
1 + -1 = 0

So use PlayerInfo[plyid][pCash] += amounttogive;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)