How would I damage a player, and set who the attacker was? I imagine something like:
[lua]ply:Hurt( damage, attacker )[/lua]
or
[lua]ply:Hurt( damageinfo )[/lua]
Thanks in advance.
[QUOTE=Feihc;25898056]Alternatively:
[URL]http://wiki.garrysmod.com/?title=Entity.TakeDamageInfo[/URL][/QUOTE]
This one's perfect for my needs, thanks.
Is it possible to do the damage without any view kick?
Sorry, you need to Log In to post a reply to this thread.