[Any] EntHax
Version 0.05d
Features:Small plugin designed for server admins and developers that want to peek into what a maps entities are and change their values in game. Get/Set Float/Int property values for entities from your console.
- Gets Entity Indices based on Classname
-- If you want to find the entity index for a player, func_physbox, or a func_tanktrain this will find it. - Gets property value for a given Entity Index
-- This gets the CURRENT value for any property for a given entity index. - Sets property value for a given Entity Index
-- This sets the CURRENT value for any property for a given entity index. - Respawns Entities
-- This is sometimes needed for the set values to take effect.
- getentindex <classname> | Gets ALL Entity Indexes based on Classname | Example: getent player
- getentpropint <index> <property> | Gets int VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropint 1 m_iHealth
- getentpropfloat <index> <property> | Gets float VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropfloat 1 m_flModelScale
- setentpropint <index> <property> <int> | Sets int VALUE of PROPERTY for given ENTITY INDEX | Example: setentpropint 1 m_iHealth 500
- setentpropfloat <index> <property> <float> | Sets float VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropfloat 1 m_flModelScale 0.3
- respawnent <index> | Respawns Entity at given Index | Example: respawnent 1
- sv_clear | Clears the console
Spoiler
- 0.05d
- Initial version.
- 0.06
- Corrected a command.
- Just place G-Fortress.smx into /tf/addonds/sourcemod/plugins folder
I'm not really sure if others are going to use this. It's a very advanced / developer oriented plugin. But I did the work to create it so thought I'd share it. :)
Attached Files


Wyświetl pełny artykuł