-
Notifications
You must be signed in to change notification settings - Fork 332
e2 docs player
Is the player an admin? (5 ops)
Is the player a super admin? (5 ops)
Returns a players shoot position (8 ops)
Gets a players view direction else entity forward direction (8 ops)
Gets a players view direction (8 ops)
Gets the steam ID of the player (5 ops)
Gets the Steam Community ID (aka Steam64) of the given player (5 ops)
Gets the armor of the player (5 ops)
Is the player crouching? (5 ops)
Is the player or NPC alive? (5 ops)
Returns 1 if the player has flashlight on, 0 otherwise (5 ops)
Returns the number of kills the player has made (5 ops)
Returns the number of times the player died (5 ops)
Returns the team number a player is on (5 ops)
Returns the name of the team associated with the team number (5 ops)
Returns the score of the team associated with the team number (5 ops)
Returns the number of players of the team associated with the team number (5 ops)
Returns the number of deaths of the team associated with the team number (5 ops)
Returns the number of kills of the team associated with the team number (5 ops)
Returns the color of the team associated with the team number (5 ops)
Returns an array of all teams (10 ops)
Is the player pressing their forward key? (default W) (2 ops)
Is the player pressing their left key? (default A) (2 ops)
Is the player pressing their back key? (default S) (2 ops)
Is the player pressing their right key? (default D) (2 ops)
Is the player pressing their jump key? (2 ops)
Is the player pressing their primary fire key? (2 ops)
Is the player pressing their secondary fire key? (2 ops)
Is the player pressing their use key? (2 ops)
Is the player pressing their reload key? (2 ops)
Is the player pressing their zoom key? (2 ops)
Is the player pressing their walk key? (2 ops)
Is the player pressing their sprint key? (2 ops)
Is the player pressing their crouch key? (2 ops)
Is the player pressing their Look left key? (2 ops)
Is the player pressing their Look right key? (2 ops)
Is the player pressing the KEY_ enumeration [S]? For example, 'W', 'K', '4', 'COMMA' (2 ops)
If set to 1, E2 will run when specified player presses/releases their key (20 ops)
(20 ops)
(20 ops)
(20 ops)
Returns the player that pressed/released the key if the E2 was triggered by runOnKeys (1 ops)
Returns 1 if the E2 was triggered by the player pressing a key or -1 when releasing a key (1 ops)
Returns the name of the pressed/released key that triggered the E2 (1 ops)
(1 ops)
If set to 1, E2 will run when a player presses E on the E2 (50 ops)
Returns the player that used the E2, if the E2 was triggered by runOnUse (1 ops)
Is the player typing a message in chat? (1 ops)
Returns an array of players on the prop protection friends list (2 ops)
Is E2 on the prop protection friends list of E? (2 ops)
Returns a Array with E's steam friends on the server E is playing on (15 ops)
Returns if the given Entity is a steam friend of the first Entity (15 ops)
Returns the latency for player E (5 ops)
Returns a players time connected to a server (5 ops)
Returns the entity of the vehicle that the specified player is in (5 ops)
Is the player in a vehicle? (5 ops)
Is the player in noclip mode? (5 ops)
Returns whether the player has god mode or not (5 ops)
Returns an array containing all players on the server (10 ops)
Returns an array containing all admins on the server (10 ops)
Returns an array containing all super admins on the server (10 ops)
Returns the entity that the entity is aiming at (10 ops)
Returns the point that the entity is looking at (10 ops)
Returns a normalized directional vector perpendicular to the surface pointed at (10 ops)
Returns the bone the player is currently aiming at (10 ops)
If set to 0, the chip will no longer run on player connect events, otherwise it makes this chip execute when someone connects. Only needs to be called once, not in every execution (3 ops)
Returns 1 if the chip is being executed because of a player connect event. Returns 0 otherwise (3 ops)
Returns the last player to connect. (3 ops)
If set to 0, the chip will no longer run on player disconnect events, otherwise it makes this chip execute when someone disconnects. Only needs to be called once, not in every execution (3 ops)
Returns 1 if the chip is being executed because of a player disconnect event. Returns 0 otherwise (3 ops)
Returns the last player to disconnect. Must be done while in a disconnectClk() as anytime after the player object is gone. (3 ops)
If set to 0, chip won't run on players dying (5 ops)
Returns if the E2 was triggered by a death (5 ops)
Returns the last time a player died (5 ops)
Returns the last time given player died (5 ops)
Returns the last player to die (5 ops)
Returns the entity that inflicted the last death (5 ops)
Returns the entity that inflicted the given player's last death (5 ops)
Returns the attacker who killed the last player to die (5 ops)
Returns the attacker who killed the player provided in their last death (5 ops)
Returns if the E2 was triggered by a player spawning (5 ops)
If set to 0, chip won't run on players spawning (5 ops)
Returns the last time a player spawned (5 ops)
Returns the last time the given player spawned (5 ops)
Returns the last player to spawn (5 ops)
Please do not alter the e2 docs ...
pages manually.
They are autogenerated from the E2Helper. In the future, this will hopefully be its own dedicated website or tool.
Basic Features: core, debug, number, selfaware,
string, timer
🌎 World: angle, color, find, ranger, sound,
🔣 Math: bitwise, complex, matrix, quaternion, vector, vector2/4
📦 Entities: bone, constraint, egp, entity, hologram, npc
👨 Players: chat, console, player, weapon
📊 Data storage: array, files, globalvars, serialization, table
💬 Communication: datasignal, http, signal, wirelink,
❓ Informational: gametick, serverinfo, steamidconv, unitconv
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem
- Home 🏠
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Events 🌟 (new!)
Click To Expand
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
- 🟧 7 Segment Display
- 🟥 Adv. Hud Indicator
- 🟧 Console Screen
- 🟧 Control Panel
- 🟧 Digital Screen
- 🟧 EGP v3
- 🟧 Fix RenderTargets
- 🟥 GPULib Switcher
- 🟧 Hud Indicator
- 🟧 Indicator
- 🟧 Lamp
- 🟧 Light
- 🟧 Oscilloscope
- 🟧 Pixel
- 🟧 Screen
- 🟧 Sound Emitter
- 🟧 Text Screen
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
- 🟧 Adv. Input
- 🟧 Button
- 🟧 Constant Value
- 🟥 Door Controller
- 🟧 Dual Input
- 🟧 Dynamic Button
- 🟧 Eye Pod
- 🟧 Graphics Tablet
- 🟧 Keyboard
- 🟥 Lever
- 🟧 Numpad
- 🟧 Numpad Input
- 🟧 Numpad Output
- 🟧 Plug
- 🟧 Pod Controller
- 🟧 Radio
- 🟧 Relay
- 🟧 Text Receiver
- 🟧 Two-way Radio
- 🟧 Vehicle Controller
- 🟥 Door
- 🟥 Adv. Dupe. Teleporter
- 🟥 Buoyancy
- 🟧 Clutch
- 🟧 Detonator
- 🟧 Explosives
- 🟧 Explosives (Simple)
- 🟥 Forcer
- 🟩 Freezer
- 🟧 Gimbal (Facer)
- 🟧 Grabber
- 🟧 Hoverball
- 🟧 Hoverdrive Controller
- 🟥 Hydraulic
- 🟧 Igniter
- 🟧 Nailer
- 🟩 Prop Spawner
- 🟥 Servo
- 🟥 Simple Servo
- 🟧 Thruster
- 🟥 Touchplate
- 🟥 Trail
- 🟩 Turret
- 🟩 User
- 🟥 Vector Thruster
- 🟥 Vehicle Exit Point
- 🟧 Weight (Adjustable)
- 🟧 Weld/Constraint Latch
- 🟥 Wheel
- 🟥 Wire Magnet
- 🟥 Wired Npc Controller
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Gates 🚥
Click To Expand
TBD