HolyLib Wiki

unholylib

unholylib

This module exists just for testing around and messing with the engine.
Supports: Linux32 | Linux64 | Windows32 | Windows64

This entire library is considered unsafe and will NOT exist if unsafe code is DISABLED!

Methods

unholylib.SetCurTime( number time )
Attempts to set CurTime to the given value
unholylib.SetEntIndex( Entity ent, number index )
Sets the EntIndex of the given entity, internally it will attempt to move the entity into the given edict slot.
If the edict slot is already used, it will swap the entities.
If the new index is -1 then it will make the entity a server-only entity.