iw7-mod/src/client/component/gsc/script_error.hpp
quaK 483aad7425 update gsc
yoink some from h2-mod
2024-07-10 20:34:26 +03:00

14 lines
263 B
C++

#pragma once
namespace gsc
{
struct script_info_t
{
const char* script_start;
std::string file;
std::string function;
};
void scr_error(const char* error, const bool force_print = false);
std::optional<script_info_t> find_function(const char* pos);
}