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:
parent
603d358e5f
commit
040a7dd7e2
@ -359,7 +359,7 @@ void Register_Core(HSQUIRRELVM vm)
|
||||
.Func(_SC("OnPostLoad"), &SqGetPostLoadEvent)
|
||||
.Func(_SC("OnUnload"), &SqGetUnloadEvent)
|
||||
.SquirrelFunc(_SC("ForceEnableNullEntities"), &SqForceEnableNullEntities)
|
||||
.SquirrelFunc(_SC("LoadScript"), &SqLoadScript)
|
||||
.SquirrelFunc(_SC("LoadScript"), &SqLoadScript, -3, ".b.")
|
||||
.SquirrelFunc(_SC("On"), &SqGetEvents);
|
||||
|
||||
RootTable(vm).Bind(_SC("SqCore"), corens);
|
||||
|
@ -129,8 +129,8 @@ void Register_Misc(HSQUIRRELVM vm)
|
||||
RootTable(vm).Bind(_SC("SqServer"), srvns);
|
||||
|
||||
RootTable(vm)
|
||||
.SquirrelFunc(_SC("FindPlayer"), &Player_FindAuto)
|
||||
.SquirrelFunc(_SC("PlayerExists"), &Player_ExistsAuto)
|
||||
.SquirrelFunc(_SC("FindPlayer"), &Player_FindAuto, -2, ".i|f|s")
|
||||
.SquirrelFunc(_SC("PlayerExists"), &Player_ExistsAuto, -2, ".i|f|s")
|
||||
.Func(_SC("GetKeyCodeName"), &GetKeyCodeName)
|
||||
.FmtFunc(_SC("SetKeyCodeName"), &SetKeyCodeName)
|
||||
.Func(_SC("GetModelName"), &GetModelName)
|
||||
|
Loading…
Reference in New Issue
Block a user