View Single Post
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-04-2017 , 18:02   Values of the properties
Reply With Quote #1

Commands:
  • val <name> <type([d|s][i|f|b|s|h|v])> [<value>] - values for You
  • vale <name> <type([d|s][i|f|b|s|h|v])> [<value>] - values for aimed entity
If you specified a property's value, then you change value of this property, and if you did not specify, you will get the value of this property
Examples:
  • val m_iMaxHealth di = GetEntProp(client, Prop_Data, "m_iMaxHealth")
  • val m_ArmorValue di 1000 = SetEntProp(client, Prop_Data, "m_ArmorValue", 1000)
    *client = You

details - soon

ToDo: Add support for tables
GitHub
Attached Files
File Type: sp Get Plugin or Get Source (properties.sp - 746 views - 9.8 KB)
__________________

Last edited by Grey83; 11-04-2017 at 18:13.
Grey83 is offline