SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/01/2017, 07:28 PM   #1
czop1223
Little Clucker
 
Join Date: Jul 2012
Posts: 48
Reputation: 0
Default Defined value in GivePlayerMoney gives mme tag mismatch

i have defined a money

#define reward 5000

and if i use it like that

GivePlayerMoney(playerid, reward);

it gives me tag mismatch
czop1223 is offline   Reply With Quote
Old 14/01/2017, 07:38 PM   #2
iLearner
Guest
 
Posts: n/a
Default Re: Defined value in GivePlayerMoney gives mme tag mismatch

Umm... Dunno really, but an alternative could be:

new reward=5000;
  Reply With Quote
Old 14/01/2017, 07:41 PM   #3
czop1223
Little Clucker
 
Join Date: Jul 2012
Posts: 48
Reputation: 0
Default Re: Defined value in GivePlayerMoney gives mme tag mismatch

Yeah I did it this way, but would still love to know if someone knows, how to do it w/ defines
czop1223 is offline   Reply With Quote
Old 14/01/2017, 07:57 PM   #4
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,526
Reputation: 554
Default Re: Defined value in GivePlayerMoney gives mme tag mismatch

It shouldn't, the code is good. Are you certain this line gives you a tag mismatch?
Misiur is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I defined something, but it wont be defined. Nightmares Scripting Help 6 29/02/2016 02:07 PM
Giveplayermoney Karolukas123 Scripting Help 3 12/02/2016 03:21 PM
Help with giveplayermoney uA1231 Scripting Help 8 05/02/2016 05:37 PM
[Ajuda] GivePlayerMoney AlisonPereira Português/Portuguese 2 13/06/2014 03:55 PM
need help for GivePlayerMoney timaoux Help Archive 4 07/08/2011 09:17 AM


All times are GMT. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.