Defined value in GivePlayerMoney gives mme tag mismatch - 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: Defined value in GivePlayerMoney gives mme tag mismatch (
/showthread.php?tid=626412)
Defined value in GivePlayerMoney gives mme tag mismatch -
czop1223 - 14.01.2017
i have defined a money
#define reward 5000
and if i use it like that
GivePlayerMoney(playerid, reward);
it gives me tag mismatch
Re: Defined value in GivePlayerMoney gives mme tag mismatch - iLearner - 14.01.2017
Umm... Dunno really, but an alternative could be:
new reward=5000;
Re: Defined value in GivePlayerMoney gives mme tag mismatch -
czop1223 - 14.01.2017
Yeah I did it this way, but would still love to know if someone knows, how to do it w/ defines
Re: Defined value in GivePlayerMoney gives mme tag mismatch -
Misiur - 14.01.2017
It shouldn't, the code is good. Are you certain this line gives you a tag mismatch?