1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Miscellaneous changes.

This commit is contained in:
Sandu Liviu Catalin 2020-04-17 15:25:58 +03:00
parent 603d358e5f
commit 040a7dd7e2
3 changed files with 4 additions and 4 deletions

View File

@ -359,7 +359,7 @@ void Register_Core(HSQUIRRELVM vm)
.Func(_SC("OnPostLoad"), &SqGetPostLoadEvent) .Func(_SC("OnPostLoad"), &SqGetPostLoadEvent)
.Func(_SC("OnUnload"), &SqGetUnloadEvent) .Func(_SC("OnUnload"), &SqGetUnloadEvent)
.SquirrelFunc(_SC("ForceEnableNullEntities"), &SqForceEnableNullEntities) .SquirrelFunc(_SC("ForceEnableNullEntities"), &SqForceEnableNullEntities)
.SquirrelFunc(_SC("LoadScript"), &SqLoadScript) .SquirrelFunc(_SC("LoadScript"), &SqLoadScript, -3, ".b.")
.SquirrelFunc(_SC("On"), &SqGetEvents); .SquirrelFunc(_SC("On"), &SqGetEvents);
RootTable(vm).Bind(_SC("SqCore"), corens); RootTable(vm).Bind(_SC("SqCore"), corens);

View File

@ -129,8 +129,8 @@ void Register_Misc(HSQUIRRELVM vm)
RootTable(vm).Bind(_SC("SqServer"), srvns); RootTable(vm).Bind(_SC("SqServer"), srvns);
RootTable(vm) RootTable(vm)
.SquirrelFunc(_SC("FindPlayer"), &Player_FindAuto) .SquirrelFunc(_SC("FindPlayer"), &Player_FindAuto, -2, ".i|f|s")
.SquirrelFunc(_SC("PlayerExists"), &Player_ExistsAuto) .SquirrelFunc(_SC("PlayerExists"), &Player_ExistsAuto, -2, ".i|f|s")
.Func(_SC("GetKeyCodeName"), &GetKeyCodeName) .Func(_SC("GetKeyCodeName"), &GetKeyCodeName)
.FmtFunc(_SC("SetKeyCodeName"), &SetKeyCodeName) .FmtFunc(_SC("SetKeyCodeName"), &SetKeyCodeName)
.Func(_SC("GetModelName"), &GetModelName) .Func(_SC("GetModelName"), &GetModelName)