Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[Any] EntHax - 0.05d - 2016/11/30


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy

[Any] EntHax
Version 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:
  1. 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.
  2. Gets property value for a given Entity Index
    -- This gets the CURRENT value for any property for a given entity index.
  3. Sets property value for a given Entity Index
    -- This sets the CURRENT value for any property for a given entity index.
  4. 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


Installation:
  1. 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
File Type: sp Get Plugin or Get Source (EntHax.sp - 5.6 KB)
File Type: smx EntHax.smx (6.1 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

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ę
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...