Show error - 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: Show error (
/showthread.php?tid=325007)
Show error -
!LukniS! - 11.03.2012
Is there any way to show me error in PAWNO? Like:
Code:
if(!IsVariableSet(WTF))
{
ShowError("You must set variable first");
}
And when i try to compile, it will send me that error.
Thanks.
Re: Show error -
ReneG - 11.03.2012
No...
Re: Show error -
TheGamer! - 11.03.2012
For check if a variable set
pawn Code:
#if !defined VARNAME
#error Error Message
#endif