added state change function

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40564
This commit is contained in:
David Anderson
2007-03-02 08:34:13 +00:00
parent ec62fb6892
commit de588c77b9
2 changed files with 45 additions and 0 deletions
+13
View File
@@ -150,6 +150,19 @@ native bool:GetEntityNetClass(edict, String:clsname[], maxlength);
* illegal values. Any range outside of the CBaseEntity structure's private
* size will cause undefined behaviour or even crash.
*/
/**
* Marks an entity as state changed. This can be useful if you set an offset
* and wish for it to be immediately changed over the network. By default this
* is not done for offset setting functions.
*
* @param edict Index to the edict.
* @param offset Offset to mark as changed. If 0,
* the entire edict is marked as changed.
* @noreturn
* @error Invalid entity or offset out of bounds.
*/
native ChangeEdictState(edict, offset = 0);
/**
* Peeks into an entity's object data and retrieves the integer value at