Server side money - 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: Server side money (
/showthread.php?tid=590043)
Server side money -
Genmetal - 25.09.2015
Heu, i need help with PPC housing. I use server side money in my Gamemode, then when i try to buy house with PPC housing, my money not decrease.
Can anybody help me please?
Sorry for bed eng xD
Re: Server side money -
X337 - 25.09.2015
Replace GivePlayerMoney in your FS with CallRemoteFunction.
Код:
CallRemoteFunction(const function[], const format[], {Float,_}:...)
Re: Server side money -
Genmetal - 25.09.2015
can you give example how to use it?
Re: Server side money -
Genmetal - 25.09.2015
Please help
Re: Server side money -
Aly - 25.09.2015
What function are you using for giving/taking money on your gamemode(not in your ppc fs)?
Re: Server side money -
Genmetal - 25.09.2015
GivePlayerCash / GetPlayerCash
Re: Server side money -
Aly - 25.09.2015
Copy those functions into your FS and then replace
with
And
with
Re: Server side money -
Genmetal - 25.09.2015
Doesnt work
Re: Server side money -
karemmahmed22 - 25.09.2015
PHP код:
CallRemoteFunction("GivePlayerCash", "ii" , playerid, amount);
Re: Server side money -
Genmetal - 25.09.2015
Quote:
Originally Posted by karemmahmed22
PHP код:
CallRemoteFunction("GivePlayerCash", "ii" , playerid, amount);
|
where i must put this?