Raised This Month: $ Target: $400
 0% 

Hud problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bladell
Senior Member
Join Date: Jun 2012
Old 08-04-2013 , 06:10   Hud problems
Reply With Quote #1

PHP Code:
public cmdShowResults(pid)
{
    static 
id
    id 
pid-TASK_RESULT_ID
    
    
if(is_user_connected(id))
    {
        static 
ilenmessage[HudLen]
        
        
len format(messagesizeof message -1"%L^n^n"LANG_PLAYER"VOTE_RESULTS")
        
        for(
i=0;i<g_votemaps;i++)
        {
            new 
map[32]
            
ArrayGetString(g_mapNameg_saveids[i], mapsizeof map -1)
            
len += format(message[len], HudLen -1"[%d] | %s^n"g_voteCount[i], map)
        }
        
        
len += format(message[len], HudLen -1"[%d] | %s [%L]^n^n"g_voteCount[i], g_currentMapLANG_PLAYER"PROLONGED")
        
len += format(message[len], HudLen -1"%L"LANG_PLAYER"VOTE_TOTAL"g_PlayersVotedg_PlayersNum)
        
        
set_hudmessage(g_result_redg_result_greeng_result_blue0.360.301.04.00.10.22)
        
show_hudmessage(idmessage)
    }

I don't know why those hud messages doesn't appear...Should look like this
Bladell is offline
 



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 15:56.


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