Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
I ask you the same thing. I can't see nothing wrong with these two macros. What's not working? Are you getting errors?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Remove the semi-colons. All 4 of them. Your function
GiveScore(playerid);
Will look like
SetPlayerScore(playerid, GetPlayerScore(playerid) + 123);;
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Will it, though? The compiler will search for "GiveScore(%0,%1);" and replace it with "SetPlayerScore(%0, GetPlayerScore(%0) + %1);"
As long as he does a normal function call the function should still work fine. He only gets a problem if he tries using them as arguments in functions, which he cannot do as both these functions set something.
Posts: 237
Threads: 106
Joined: Aug 2012
Reputation:
0
The score is no given. That's my problem. Thanks for helping me.
Also the Position is not set.