Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

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


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 494
  • Lokalizacja:AMXX.PL
Offline

Napisano 30.11.2016 07:55

<p>


[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:
  • 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 &lt;classname&gt; | Gets ALL Entity Indexes based on Classname | Example: getent player
  • getentpropint &lt;index&gt; &lt;property&gt; | Gets int VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropint 1 m_iHealth
  • getentpropfloat &lt;index&gt; &lt;property&gt; | Gets float VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropfloat 1 m_flModelScale
  • setentpropint &lt;index&gt; &lt;property&gt; &lt;int&gt; | Sets int VALUE of PROPERTY for given ENTITY INDEX | Example: setentpropint 1 m_iHealth 500
  • setentpropfloat &lt;index&gt; &lt;property&gt; &lt;float&gt; | Sets float VALUE of PROPERTY for given ENTITY INDEX | Example: getentpropfloat 1 m_flModelScale 0.3
  • respawnent &lt;index&gt; | Respawns Entity at given Index | Example: respawnent 1
  • sv_clear | Clears the console
Changelog:


Spoiler

  • 0.05d
    • Initial version.
  • 0.06
    • Corrected a command.
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 Dołączona grafikaGet Plugin or Get Source (EntHax.sp - 5.6 KB) Dołączona grafikaEntHax.smx (6.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych