[Macro] Mutliple macros in one
#10

The thing I don't understand is that %8$ before each "cmd_".
PHP код:
#define CMD: __:CMD_1:CMD_2:CMD_3:$
#define CMD_1:CMD_2:CMD_3:%8$%1[%2](%3) %8$cmd_%1(%3) <cmd_state: %2>
#define CMD_2:CMD_3:%8$%1{%2}(%3)         %8$cmd_%1(%3) if (Is%2(playerid))
#define CMD_3:%8$%1(%3)                 %8$cmd_%1(%3) 
I'm wondering how the compiler consider "u@(u[_:%0 u@$" ? as a variable?
PHP код:
u@(u[_:CMD_10]);cmd_ban(playeridparams[]) if (IsAdmin(playerid))
{
    return 
1;

Reply


Messages In This Thread
[Macro] Mutliple macros in one - by Dayrion - 27.07.2017, 17:19
Re: [Macro] Mutliple macros in one - by OneDay - 28.07.2017, 09:21
Re: [Macro] Mutliple macros in one - by Dayrion - 28.07.2017, 12:41
Re: [Macro] Mutliple macros in one - by Misiur - 29.07.2017, 09:09
Re: [Macro] Mutliple macros in one - by Dayrion - 29.07.2017, 17:39
Re: [Macro] Mutliple macros in one - by Misiur - 29.07.2017, 18:46
Re: [Macro] Mutliple macros in one - by Dayrion - 29.07.2017, 21:50
Re: [Macro] Mutliple macros in one - by Dayrion - 31.07.2017, 00:14
Re: [Macro] Mutliple macros in one - by Dayrion - 22.11.2017, 15:29
Re: [Macro] Mutliple macros in one - by Dayrion - 22.11.2017, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)