Raised This Month: $ Target: $400
 0% 

[HELP] Hud Message (FUNCTION)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheBadBoy
Junior Member
Join Date: Nov 2011
Old 11-28-2011 , 17:36   [HELP] Hud Message (FUNCTION)
Reply With Quote #1

Hello, AM
I have this:
PHP Code:
set_hudmessage(2553030, -1.0, -1.021.030.10.14)
show_hudmessage(id"%s - %i% ^n^n Rank: %s"namehealthrank(id))

public 
rank(id)
{
        if(
cs_get_user_team(id) == CS_TEAM_CT)
        {
        
rank CAT
        
}

        if(
cs_get_user_team(id) == CS_TEAM_T)
        {
        
rank Terroriste
        
}

Why Rank don't works...
TheBadBoy is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 11-28-2011 , 18:37   Re: [HELP] Hud Message (FUNCTION)
Reply With Quote #2

Wow dude. you were already banned once for posting the same thread in multiple sections, and as soon as you come back you do it again? #facepalm

http://forums.alliedmods.net/showthread.php?t=173006

http://forums.alliedmods.net/showthread.php?t=172371
__________________

Last edited by joshknifer; 11-28-2011 at 18:39.
joshknifer is offline
Send a message via Skype™ to joshknifer
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 11-28-2011 , 18:44   Re: [HELP] Hud Message (FUNCTION)
Reply With Quote #3

Code:
new rank[ 33 ][ 33 ] set_hudmessage(255, 30, 30, -1.0, -1.0, 2, 1.0, 3, 0.1, 0.1, 4) show_hudmessage(id, "%s - %i% ^n^n Rank: %s", name, health, rank[id]) public rank(id) {         if(cs_get_user_team(id) == CS_TEAM_CT)         {         rank[ id ] = "CAT"         }         if(cs_get_user_team(id) == CS_TEAM_T)         {         rank[ id ] = "Terroriste"         } }
Devil259 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 08:30.


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