OnScriptError
From Onset Developer Wiki
Description
Called when a script error occurs. On the client this is only called when the game was started with the -dev switch.
Syntax
OnScriptError(message)
Parameters
- message
The script error message.
Example
function OnScriptError(message)
AddPlayerChat('<span color="#ff0000bb" style="bold" size="10">'..message..'</>')
end
AddEvent("OnScriptError", OnScriptError)