Code: Select all
import players
import random
@OnTick
def aa():
engine_server.crosshair_angle(players.entity.Player(1).edict,random.randint(-90,90),random.randint(0,360))
Code: Select all
import players
import random
@OnTick
def aa():
engine_server.crosshair_angle(players.entity.Player(1).edict,random.randint(-90,90),random.randint(0,360))
Code: Select all
.def("is_in_edit_mode",
&IVEngineServer::IsInEditMode,
"Returns false if the engine is not in hammer editing mode."
)
D3CEPTION wrote:so i guess, the engine module carries some unusable "left overs" from the sdk regarding source pythons' usage?
Return to “Plugin Development Support”
Users browsing this forum: No registered users and 101 guests