isnull problem
#1

Код:
combinations.pwn(1873) : error 017: undefined symbol "isnull"
combinations.pwn(1953) : error 017: undefined symbol "isnull"
combinations.pwn(2024) : error 017: undefined symbol "isnull"
combinations.pwn(2166) : error 017: undefined symbol "isnull"
combinations.pwn(2197) : error 017: undefined symbol "isnull"
combinations.pwn(2231) : error 017: undefined symbol "isnull"
combinations.pwn(2431) : error 017: undefined symbol "isnull"
combinations.pwn(2573) : error 017: undefined symbol "isnull"
combinations.pwn(2639) : error 017: undefined symbol "isnull"
combinations.pwn(2699) : error 017: undefined symbol "isnull"
combinations.pwn(2735) : error 017: undefined symbol "isnull"
combinations.pwn(2792) : error 017: undefined symbol "isnull"
combinations.pwn(2859) : error 017: undefined symbol "isnull"
combinations.pwn(2896) : error 017: undefined symbol "isnull"
combinations.pwn(2925) : error 017: undefined symbol "isnull"
combinations.pwn(3156) : error 017: undefined symbol "isnull"
combinations.pwn(3240) : error 017: undefined symbol "isnull"
combinations.pwn(3307) : error 017: undefined symbol "isnull"
combinations.pwn(3365) : error 017: undefined symbol "isnull"
combinations.pwn(3590) : error 017: undefined symbol "isnull"
combinations.pwn(3607) : error 017: undefined symbol "isnull"
combinations.pwn(3624) : error 017: undefined symbol "isnull"
combinations.pwn(3641) : error 017: undefined symbol "isnull"
combinations.pwn(3659) : error 017: undefined symbol "isnull"
combinations.pwn(3677) : error 017: undefined symbol "isnull"
combinations.pwn(3780) : error 017: undefined symbol "isnull"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Please help!!
Reply
#2

You should add this at the top of your gamemode:
pawn Код:
#if !defined isnull
    #define isnull(%1) \
                ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Reply
#3

stock sscanf(string[], format[], {Float,_}:...)
{
#if defined isnull
if (isnull(string))
#else
if (string[0] == 0 || (string[0] == 1 && string[1] == 0))
#endif
{
return format[0];
}
Reply
#4

Quote:
Originally Posted by Norck
Посмотреть сообщение
You should add this at the top of your gamemode:
pawn Код:
#if !defined isnull
    #define isnull(%1) \
                ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Thanks it helped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)