#1

Код:
C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\LC-RP.pwn(2702) : error 017: undefined symbol "isnull"
pawn Код:
public OnPlayerEnterDynamicArea(playerid, areaid)
{
    foreach(Player, i)
    {
        if(GetPVarType(i, "pDynamicBBArea"))
        {
            if(areaid == GetPVarInt(i, "pDynamicBBArea"))
            {
                new station[256];
                GetPVarString(i, "pDynamicBBStation", station, sizeof(station));
                if(!isnull(station))
                {
                    PlayAudioEx(playerid, station, GetPVarFloat(i, "pDynamicBBX"), GetPVarFloat(i, "pDynamicBBY"), GetPVarFloat(i, "pDynamicBBZ"), 30.0, 1);
                }
                return 1;
            }
        }
    }
    return 1;
}
Reply
#2

try with this at top
pawn Код:
new isnull [MAX_PLAYERS];
Reply
#3

Quote:
Originally Posted by мυ∂υℓ_вacнα
Посмотреть сообщение
try with this at top
pawn Код:
new isnull [MAX_PLAYERS];
Already fixed i forgot to add this :P

Код:
#if !defined isnull
    #define isnull(%1) \
                ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Reply
#4

@maul wrong it wont work
use this:
pawn Код:
#if !defined isnull
    #define isnull(%1) \
                ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
ofc at the top
Reply
#5

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
@maul wrong it wont work
use this:
pawn Код:
#if !defined isnull
    #define isnull(%1) \
                ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
ofc at the top
Read the post above.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)