Raised This Month: $ Target: $400
 0% 

Problems with set_hudmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
klysman07
Senior Member
Join Date: Oct 2011
Old 03-03-2013 , 00:39   Problems with set_hudmessage
Reply With Quote #1

actually this the perfect plugins.
I only have a small problem. the message shows that the reasons for the arrest does not appear, type, she appears but is very fast.

I want to leave a message on the screen fixed for 15 seconds. has as?

already tried a few things, but nothing worked.

can someone help me? Thank you.

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>


#define IsPlayer(%1) (1 <= %1 <= g_players)


new g_players;


new const 
gMotivos[][] = {
    
"Homosexual",
    
"Da banda Restart"
    
"Estuprador de Criancas",
    
"Corno",
    
"Tarado",    
    
"Ladrao de galinha",
    
"Negro",
    
"Punheteiro"
    
"Assassino",
    
"Traficante",
    
"Analfabedo",    
    
"Pau no Cu"
    
"Prostituta"
    
"Arrombado",    
    
"Funkeiro",
    
"Fedorento"
    
"Boyola",
    
"Pedofilo"
    
"Gordo",
    
"Vagabunda",
    
"Menstruada",
    
"Nubizinho Lv 1",    
    
"Boqueteiro"
 
}

//set_hudmessage(255, 170, 0, -1.0, 0.72, 0, 3.0, 15.0)


new g_iMotivo[33]

public 
plugin_init(){
    
register_plugin("Nome-Motivos""1.0",  "Klysman =]");
    
register_event("HLTV""event_NewRound""a""1=0""2=0")
 
    
g_players get_maxplayers();
    
}


public 
event_NewRound(id) {
    for(new 
1<= g_playersi++) {
        if( 
is_user_connected) && cs_get_user_team) == CS_TEAM_T )  {       
   
   
            
set_hudmessage(2551700, -1.00.7211.01.50.10.110)
            
show_hudmessage(i"Voce foi preso por ser: %s !!"gMotivosg_iMotivo[i] = random(sizeof(gMotivos)) ])
  
        }
    }

klysman07 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 21:44.


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