AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Hud Message (FUNCTION) (https://forums.alliedmods.net/showthread.php?t=173005)

TheBadBoy 11-28-2011 17:36

[HELP] Hud Message (FUNCTION)
 
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...

joshknifer 11-28-2011 18:37

Re: [HELP] Hud Message (FUNCTION)
 
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

Devil259 11-28-2011 18:44

Re: [HELP] Hud Message (FUNCTION)
 
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"         } }


All times are GMT -4. The time now is 08:30.

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