SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=555318)



Question - Rabea - 07.01.2015

Hello,
i'm useing the function for money GiveZaiatMoney.
and i downloaded a filterscript, the function for money is GivePlayerMoney in that filterscript.
i'm tring to replace but its giving me error, undfined GiveZaiatMoney.
Any help?
thanks for helping.


Re: Question - Sid_Alexander - 07.01.2015

You want to use GiveZiatMoney instead of GivePlayerMoney?
If that's what you wanna do, then do this on top of your script:

pawn Код:
#define GiveZaiatMoney GivePlayerMoney
and then use this wherever you want:

pawn Код:
GiveZaiatMoney(playerid, amount);