View Single Post
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
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: 1262
Size:  28.9 KB
Attached Files
File Type: sp Get Plugin or Get Source (EntHax 0.7.0.sp - 642 views - 4.6 KB)
File Type: smx EntHax 0.7.0.smx (6.2 KB, 273 views)
__________________

Last edited by Grey83; 11-30-2016 at 04:30. Reason: Added screenshot
Grey83 is offline