Raised This Month: $ Target: $400
 0% 

hud is not displaying and sound is not playing...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-21-2006 , 00:29   hud is not displaying and sound is not playing...
Reply With Quote #1

could someone help me with this the hud msg is not showing up and no sound is playing..
Code:
new g_szHeSound[]= "misc/nade_kill.wav" public Death() {         if(get_pcvar_num(enabled) == 1)         {                 new id = read_data(2)                 new iWeapon                 new iAttacker = get_user_attacker(id, iWeapon)                   if(iWeapon == CSW_HEGRENADE && hasSomething[iAttacker])                 {                                         new VictimName[33]                         new AttackerName[33]                                         get_user_name(iAttacker, AttackerName, 32)                         get_user_name(id,VictimName,32)                                         new iRed   = random_num(1,255)                         new iGreen = random_num(1,255)                         new iBlue  = random_num(1,255)                         new Float:X = random_float(0.9, 0.98)                         new Float:Y = random_float(0.9, 0.98)                           set_hudmessage(iRed, iGreen, iBlue, X, Y, 0, 3.0, 6.0, 0.1, 0.2, 4)                         show_hudmessage(0,"%s Was naded! by %s Grenade!!!!",VictimName, AttackerName)                                         new Str[64]                         format(Str,63,"spk %s",g_szHeSound)                         client_cmd(0,Str)                                                         client_print(id,print_console,"%s has just Naded you with a  Grenade!!!", AttackerName)                 }                                                         }         return PLUGIN_CONTINUE   }
k007 is offline
Send a message via MSN to k007
 



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 04:46.


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