* Add SetCollisionGroup native * Add newline to end of file * Fix gamedata locations * Remove extra spaces * Fix gamedata formatting * Add Windows signature for CS:GO * Fix native doc comment * Revert formatting change * Change references of client -> entity * Moved CallWrapper into method * typofix Co-authored-by: Kyle Sanderson <[email protected]>
This commit is contained in:
co-authored by
Kyle Sanderson
parent
3b2fa89926
commit
a9d3cf4574
@@ -351,3 +351,12 @@ native void SetClientName(int client, const char[] name);
|
||||
* @error Lack of mod support.
|
||||
*/
|
||||
native int GivePlayerAmmo(int client, int amount, int ammotype, bool suppressSound=false);
|
||||
|
||||
/**
|
||||
* Changes an entity's collision group (CBaseEntity::SetCollisionGroup).
|
||||
*
|
||||
* @param entity The entity index.
|
||||
* @param collisionGroup Collision group to use.
|
||||
* @error Invalid entity or lack of mod support.
|
||||
*/
|
||||
native void SetCollisionGroup(int entity, int collisionGroup);
|
||||
|
||||
Reference in New Issue
Block a user