Hi,
can we already do es.cexec(userid, 'use', 2) - or es.sexec, can't remember? =)
Forcing a player to use a weapon
This should work (I think):
Eventually this will work once the entities_changes branch is complete:
Syntax: Select all
from engines.server import engine_server
engine_server.client_command(<index>, 'use <weapon_name>')
Eventually this will work once the entities_changes branch is complete:
Syntax: Select all
PlayerEntity(<index>).equip_weapon(<weapon pointer>)
satoon101 wrote:This should work (I think):Syntax: Select all
from engines.server import engine_server
engine_server.client_command(<index>, 'use <weapon_name>')
Eventually this will work once the entities_changes branch is complete:Syntax: Select all
PlayerEntity(<index>).equip_weapon(<weapon pointer>)
Perfect, thanks.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 107 guests