Raised This Month: $ Target: $400
 0% 

Hud MSG time [HELP]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 08-17-2009 , 14:29   Hud MSG time [HELP]
Reply With Quote #1

Hey guys. Can anyone teach me how to make these HUD msg show the whole round? Just one example would be perfect ;P.

HTML Code:
        case 21:/*      Chucky  */
        {
            StripUserWeapons(id)
            set_user_footsteps (id, 1)
            set_user_rendering(id,kRenderFxGlowShell,255,0, 0,kRenderTransAlpha,255);
            
            give_item (id, "weapon_knife")
            give_item (id, "weapon_flashbang")
            cs_set_user_bpammo (id, CSW_FLASHBANG, 3)
            
            set_user_health (id, 500)
            set_user_armor (id, 0)

            client_print(id, print_chat,"You have chosen to be 'Chucky'.");
            set_hudmessage(255,255,255,0.75,0.05,0, 1.0, 1.0, 0.1, 0.2, 13);
            show_hudmessage(id, "Hero: Chucky (ADMIN)^nHealth: %d", get_user_health(id))
        }    
        case 22:/* Reaper */
        {
            StripUserWeapons(id);
            cs_set_user_defuse(id, 1);
            
            give_item(id, "weapon_knife");
            
            set_user_health(id, 100);
            set_user_rendering(id,kRenderFxGlowShell,0,0, 0,kRenderTransAlpha,1);
            //remove_glow(id)
            set_user_gravity (id, 0.8);
            set_user_footsteps(id, 0);
            
            client_print(id, print_chat,"You have chosen to be 'Reaper'.");
            set_hudmessage(255,255,255,0.75,0.05,0, 1.0, 1.0, 0.1, 0.2, 13);
            show_hudmessage(id, "Hero: Reaper (ADMIN)^nHealth: %d", get_user_health(id))
just the last part of the case is the hud msg
malec321 is offline
Old 08-19-2009, 16:52
malec321
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply


Thread Tools
Display Modes

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


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