Es.entcreate

From EventScripts Community Encyclopedia
You cannot use this command with build 224 (ES 2.0) since there are problems in Python with it!


This article is a stub. Please help by adding to it.



Method: entcreate

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Creates an entity where a player is looking. This is the Python equivalent of: http://www.eventscripts.com/pages/es_entcreate

Arguments

  • userid - Userid of player to use when creating entity
  • entityname - Name of an entity to give to the player, such as env_explosion.


Examples


Notes

You cannot use this command with build 224 (EventScripts 2.0) since there are problems in Python with it. You have to use old ESS cmd call. Example:

es.server.cmd('es_xentcreate %i %s' % (<userid variable>, <entityname variable>))

See Also

blog comments powered by Disqus