Raised This Month: $ Target: $400
 0% 

[Any] EntHax - 0.08 - 2016/12/1


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
5432
Plugin Version:
0.08
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Gets/Sets Entity Properties in Game
    Old 11-30-2016 , 04:13   [Any] EntHax - 0.7.0 - 2016/11/30
    Reply With Quote #1

    I don't undestand what do command respawnent <index>, But the plugin written in such a way will work better.
    Changes:
    • Reduced the number of commands without reducing the functionality of the plugin
      • getentindex - Gets ALL Entity Indexes based on Classname
      • entpropint - Gets/Sets int VALUE of PROPERTY for given ENTITY INDEX*
      • entpropfloat - Gets/Sets float VALUE of PROPERTY for given ENTITY INDEX*
      • respawnent - Respawns Entity at given Index
      • sv_clear - Clears the console
    • Added validation of data entered
    • Rewritten using the new syntax (1.7+)
      Need SM1.8_stable to compile
    *if the number of arguments equal 2, then You can GET value of choosed property
    if the number of arguments equal or more than 3, then You can SET value of choosed property

    Name:  EntHax 0.7.0.jpg
Views: 1257
Size:  28.9 KB
    Attached Files
    File Type: sp Get Plugin or Get Source (EntHax 0.7.0.sp - 638 views - 4.6 KB)
    File Type: smx EntHax 0.7.0.smx (6.2 KB, 266 views)
    __________________

    Last edited by Grey83; 11-30-2016 at 04:30. Reason: Added screenshot
    Grey83 is offline
    cheddar
    Member
    Join Date: Sep 2015
    Old 11-30-2016 , 04:56   Re: [Any] EntHax - 0.7.0 - 2016/11/30
    Reply With Quote #2

    Quote:
    Originally Posted by Grey83 View Post
    Reduced the number of commands without reducing the functionality of the plugin
    Very nice improvements! I'm implementing these features into the main plugin and I'll keep credit mentioning your contributions. Thank you!

    By the way, I'm nearly done with get/set string which will help when getting/setting targetnames etc.

    Quote:
    Originally Posted by Grey83 View Post
    I don't undestand what do command respawnent <index>, But the plugin written in such a way will work better.
    You may find that certain values dont apply until an entity is respawned. The other day I observed this while editing the collision group of a spinning entity. You may never need this command, but I found it useful in my testing. Fun fact: if you respawn a player, they actually respawn as if they just died.

    Quote:
    Originally Posted by Grey83 View Post
    [*]Rewritten using the new syntax (1.7+)
    What part of your rewrite is new syntax?.... answered it myself... HasEntProp hmm...

    But really man, thanks for the help. You improved a ton.

    Last edited by cheddar; 11-30-2016 at 05:01.
    cheddar is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 22:12.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode