error server_log message on chat
#1

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'
Reply
#2

Crashdetect include provides a callback:
pawn Код:
forward OnRuntimeError(code, &bool:suppress);
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Crashdetect include provides a callback:
pawn Код:
forward OnRuntimeError(code, &bool:suppress);
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)