RSSy MYGO.pl Opublikowano Listopad 30, 2016 o 06:55 RSSy Udostępnij Opublikowano Listopad 30, 2016 o 06:55 [Any] EntHaxVersion 0.05d Description: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. Features: 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. Commands: 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 Changelog: Spoiler [LIST][*]0.05d Initial version. Installation: Just place G-Fortress.smx into /tf/addonds/sourcemod/plugins folder Final Thoughts: 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 Get Plugin or Get Source (EntHax.sp - 5.6 KB) EntHax.smx (6.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się