From b314a907a690fe4db83c708bca59b0c620e59b66 Mon Sep 17 00:00:00 2001 From: Huoji's <1296564236@qq.com> Date: Sat, 14 Oct 2023 17:39:45 +0800 Subject: [PATCH] fix steamid lose --- csgo2/script_apis.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csgo2/script_apis.cpp b/csgo2/script_apis.cpp index 7a4920c..5a19e0a 100644 --- a/csgo2/script_apis.cpp +++ b/csgo2/script_apis.cpp @@ -963,6 +963,8 @@ auto initFunciton(lua_State* luaVm) -> void { lua_register(luaVm, "luaApi_GetConVarString", luaApi_GetConVarString); lua_register(luaVm, "luaApi_GetConVarInt", luaApi_GetConVarInt); + lua_register(luaVm, "luaApi_GetPlayerSteamId", luaApi_GetPlayerSteamId); + // lua_register(luaVm, "luaApi_TeleportPlayer", luaApi_TeleportPlayer); luabridge::getGlobalNamespace(luaVm)