GivePlayerMoney > GivePlayercash - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GivePlayerMoney > GivePlayercash (
/showthread.php?tid=631493)
GivePlayerMoney > GivePlayercash -
FizzyWalshy - 30.03.2017
Remove -Fixed.
Re: GivePlayerMoney > GivePlayercash -
Sebz - 30.03.2017
Either add the GivePlayerCash system to the filterscript or implement the filterscript directly into your gamemode.
Re: GivePlayerMoney > GivePlayercash -
[eLg]elite - 30.03.2017
I believe there is a function for that, equivalent to the opposite of CallLocalFunction for this.
Re: GivePlayerMoney > GivePlayercash -
GoldenLion - 30.03.2017
There's CallRemoteFunction, but you'll need to forward the GivePlayerCash function first.
Re: GivePlayerMoney > GivePlayercash -
raydx - 31.03.2017
Код:
#define GivePlayerMoney(%0,%1) GivePlayerCash(%0,%1)
After adding this, you don't have to convert anything.
Re: GivePlayerMoney > GivePlayercash -
GoldenLion - 31.03.2017
Quote:
Originally Posted by raydx
Код:
#define GivePlayerMoney(%0,%1) GivePlayerCash(%0,%1)
After adding this, you don't have to convert anything.
|
He has the function in his gamemode. He can only access it by using CallRemoteFunction.
Re: GivePlayerMoney > GivePlayercash -
raydx - 31.03.2017
Quote:
Originally Posted by GoldenLion
He has the function in his gamemode. He can only access it by using CallRemoteFunction.
|
Lol, is that a big problem to move it to FS? CTRL+C, CTRL+V.