error server_log message on chat - 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: error server_log message on chat (
/showthread.php?tid=659569)
error server_log message on chat -
RedGun2015 - 07.10.2018
How can I do, when a error occurs, ex: a message like 'array index out of bonus' is showed in server_log.
My question is, how can I make when a error or warning or something like that, appears in server_log to send a message on chat (in-game), like: '
There are some errors, check server_log'
Re: error server_log message on chat -
Calisthenics - 07.10.2018
Crashdetect include provides a callback:
pawn Код:
forward OnRuntimeError(code, &bool:suppress);
Re: error server_log message on chat -
RedGun2015 - 07.10.2018
Quote:
Originally Posted by Calisthenics
Crashdetect include provides a callback:
pawn Код:
forward OnRuntimeError(code, &bool:suppress);
|
thanks