C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\LC-RP.pwn(2702) : error 017: undefined symbol "isnull"
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;
}
new isnull [MAX_PLAYERS];
#if !defined isnull #define isnull(%1) \ ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1])))) #endif
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
@maul wrong it wont work
use this: pawn Код:
|