Use value of constant as part of a macro
#6

im come up with this
will replace HOUSE with you constant
then the rest
it should work let me know
pawn Code:
#define HOUSE PICKUPTYPE_HOUSE

#define PickupEvent:%0(%1,%2)           \
    forward PickupEvent_%0(%1,%2);      \
    public PickupEvent_%0(%1,%2)
Reply


Messages In This Thread
Use value of constant as part of a macro - by Programie - 11.04.2012, 16:57
Re: Use value of constant as part of a macro - by Jonny5 - 11.04.2012, 17:08
Re: Use value of constant as part of a macro - by Programie - 11.04.2012, 17:12
Re: Use value of constant as part of a macro - by Jonny5 - 11.04.2012, 17:19
Re: Use value of constant as part of a macro - by Programie - 11.04.2012, 17:31
Re: Use value of constant as part of a macro - by Jonny5 - 11.04.2012, 17:50
Re: Use value of constant as part of a macro - by Programie - 11.04.2012, 17:53
Re: Use value of constant as part of a macro - by Jonny5 - 11.04.2012, 17:57
Re: Use value of constant as part of a macro - by Programie - 11.04.2012, 18:09

Forum Jump:


Users browsing this thread: 2 Guest(s)