Raised This Month: $ Target: $400
 0% 

Damage Done, By Single Shot.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 07-10-2004 , 00:19   Damage Done, By Single Shot.
Reply With Quote #1

I want this to be called every time someone is shot, and to the player that did the shooting to be sent a message containing how much damage was done by that shot.

Code:
public damage_color(id){     new dyTeam[32], dyDamage[32]     get_user_team(id, dyTeam, 2)     // Place Damage Done Here, please make it read into dyDamage.     if(dyTeam == "co"){         set_hudmessage(0, 0, 255, -0.50, 0.45, 0, 3.0, 6.0, 0, 0, 3)         show_hudmessage(0,"%s",dyDamage)     }else{         set_hudmessage(255, 0, 0, -0.50, 0.45, 0, 3.0, 6.0, 0, 0, 3)         show_hudmessage(0,"%s",dyDamage)     } }
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
 



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:36.


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