Server side money not working
#1

Hello, i found this server side money method here on the forum and i applied it:

Код:
#define GivePlayerCash(%0,%1) SetPVarInt(%0,"Money",GetPlayerCash(%0)+%1),GivePlayerMoney(%0,%1)
#define ResetPlayerCash(%0) SetPVarInt(%0,"Money",0), ResetPlayerMoney(%0)
#define GetPlayerCash(%0) GetPVarInt(%0,"Money")
I replaced GivePlayerMoney with GivePlayerCash, ResetPlayerMoney with ResetPlayerCash and GetPlayerMoney with GetPlayerCash, but is not working.

I tried with a famous cheat and money doesn't get reset to the original quantity.

(I don't have any timer, just added this defines and replaced all original money variables.)

What's wrong?
Reply


Messages In This Thread
Server side money not working - by Face9000 - 10.07.2015, 21:02
Re: Server side money not working - by JaKe Elite - 11.07.2015, 03:10
Re: Server side money not working - by Prokill911 - 11.07.2015, 06:28
Re: Server side money not working - by Face9000 - 11.07.2015, 08:50
Re: Server side money not working - by Face9000 - 12.07.2015, 09:37
Re: Server side money not working - by Banana_Ghost - 12.07.2015, 10:37
Re: Server side money not working - by Vince - 12.07.2015, 10:44
Re: Server side money not working - by Face9000 - 12.07.2015, 11:03
Re: Server side money not working - by Face9000 - 12.07.2015, 11:16

Forum Jump:


Users browsing this thread: 2 Guest(s)