CTakeDamageInfo.SetAttacker
From GMod Wiki
Function | |
Syntax | CTakeDamageInfo:SetAttacker( Entity attacker ) |
Description: | |
Sets the attacker entity. | |
Returns: | nil |
In Object: | CTakeDamageInfo |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CTakeDamageInfo.SetAttacker]CTakeDamageInfo.SetAttacker [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- This should be the entity that attacks and should recieve credit.