10.07.2015, 21:02
Hello, i found this server side money method here on the forum and i applied it:
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?
Код:
#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 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?