Creating stock only if not difined
#4

Quote:
Originally Posted by MP2
Посмотреть сообщение
pawn Код:
#if !defined MyFunction

stock MyFunction(playerid)
{
    // Code
}

#endif
That simple.
Dead you read my first comment?

This is what I want to do!:
Код:
#define mystock%0@%2(%1) \
    #if !defined %0@0 \
        stock%0@0(%1) \
    #else \
        stock%0@%2(%1) \
    #endif
So simple?
Reply


Messages In This Thread
Creating stock only if not difined - by Swimor - 24.06.2013, 13:02
Re: Creating stock only if not difined - by [MG]Dimi - 24.06.2013, 13:22
Re: Creating stock only if not difined - by MP2 - 24.06.2013, 13:28
Re: Creating stock only if not difined - by Swimor - 24.06.2013, 13:39
Re: Creating stock only if not difined - by [MG]Dimi - 24.06.2013, 13:41
Re: Creating stock only if not difined - by Mauzen - 24.06.2013, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)