SA-MP Forums Archive
Why CallLocalFunction crash server ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why CallLocalFunction crash server ? (/showthread.php?tid=292545)



Why CallLocalFunction crash server ? - Trac - 24.10.2011

Код:
public OnDialogResponse(playerid,dialogid,response,listitem,inputtext[])
{
        DialogID[playerid] = -1;
	return CallLocalFunction("SBR_OnDialogResponse","iiiis",playerid,dialogid,response,listitem,inputtext);
}
when i response on dialog than server crash :/


Re: Why CallLocalFunction crash server ? - Trac - 24.10.2011

Solved

EDIT:

Код:
error 017: undefined symbol "NULL"
how to define NULL ?


Re: Why CallLocalFunction crash server ? - Vince - 24.10.2011

pawn Код:
#define NULL "\1\0"
should work, I guess.


Re: Why CallLocalFunction crash server ? - Trac - 24.10.2011

ok thanks

finaly solved