Raised This Month: $ Target: $400
 0% 

command on attack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bubby
Junior Member
Join Date: Feb 2005
Old 03-08-2005 , 23:18   command on attack
Reply With Quote #1

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...
Bubby is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 03-08-2005 , 23:39  
Reply With Quote #2

grammar plz?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
lunarwolfx
Member
Join Date: Feb 2005
Old 03-09-2005 , 00:20  
Reply With Quote #3

like mind control? You're trying to take over someone's character or something?
lunarwolfx is offline
Bubby
Junior Member
Join Date: Feb 2005
Old 03-09-2005 , 00:41  
Reply With Quote #4

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.
Bubby is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-09-2005 , 15:12  
Reply With Quote #5

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).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode