mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
Common: Add lua warn
This commit is contained in:
parent
a289d0e872
commit
672c7d02d1
@ -149,7 +149,11 @@ void RegisterThread(const std::string& str);
|
|||||||
} while (false)
|
} while (false)
|
||||||
#define beammp_lua_error(x) \
|
#define beammp_lua_error(x) \
|
||||||
do { \
|
do { \
|
||||||
Application::Console().Write(_this_location + std::string("[LUA_ERROR] ") + (x)); \
|
Application::Console().Write(_this_location + std::string("[LUA ERROR] ") + (x)); \
|
||||||
|
} while (false)
|
||||||
|
#define beammp_lua_warn(x) \
|
||||||
|
do { \
|
||||||
|
Application::Console().Write(_this_location + std::string("[LUA WARN] ") + (x)); \
|
||||||
} while (false)
|
} while (false)
|
||||||
#define luaprint(x) Application::Console().Write(_this_location + std::string("[LUA] ") + (x))
|
#define luaprint(x) Application::Console().Write(_this_location + std::string("[LUA] ") + (x))
|
||||||
#define beammp_debug(x) \
|
#define beammp_debug(x) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user