Syntax: Select all
from events import Event
from players.entity import Player
import random
from engines.precache import Model
@Event('player_spawn')
def _spawn(ev):
player = Player.from_userid(ev['userid'])
player.delay(1.0,player.set_model,(Model("models/eli.mdl"),))
The problem is that the model seems to go through it's animations (I guess from HL2) instead of sticking to the actual player stance.
Example:
