Raised This Month: $ Target: $400
 0% 

TextMsg remplace !


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 12-30-2015 , 03:11   TextMsg remplace !
Reply With Quote #1

Hello I want replacement TextMsg with Hud_Message !
but ignorant of the way so any one can help me ?
PHP Code:
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_message(get_user_msgid("TextMsg"),    "msgTextMsg");
}

public 
msgTextMsg(id)
{
    static 
textmsg[22];
    
get_msg_arg_string(2textmsg21);
    
    if(
equal(textmsg"#Vote"))
    {
            
set_hudmessage(25525500.480.1200.1 10.00.04)
             
show_hudmessage(0"Test Message!")
   
    }
    
    return 
PLUGIN_HANDLED

__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 


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 09:28.


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