command on attack
how do i make it so that when a weapon like the punch in ts runs a command on the other clients computer so that when someone that has a command running on them punches another person without that command he gets that command and he becomes the same like the other person.
like zombies... |
grammar plz?
|
like mind control? You're trying to take over someone's character or something?
|
sorry im really tired right now.
i want to make it so that when person A gets punched by person B, my console automatticly types in amx_tvirus personA but how would i make it do that so personA is replaced by their actuall name. see what i mean? so guy1 gets hit by a zombie and then guy1 turns into a zombie. |
You'll have to figure out a way to get when they are hit and with what, but for your question as to the name you can use get_user_name and then server_cmd("amx_tvirus ^"%s^"",namevariable).
|
| All times are GMT -4. The time now is 14:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.