Raised This Month: $ Target: $400
 0% 

2 lil questions :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 10-25-2009 , 06:06   Re: 2 lil questions :)
Reply With Quote #4

The first one does not work because message "Live" is displayed before "game will restart in ..." and it's overwritten. You would have to use task to make it work.

The 2nd one is better solution, but you made little mistake. Try:
PHP Code:
public plugin_init()
{
    
register_message(get_user_msgid("TextMsg"), "eTextMsg")
}

public 
eTextMsg(msg_idmsg_destmsg_entity)
{
    static 
szMessage[64]
    
get_msg_arg_string(2szMessage63)
    if(
equali(szMessage"#Game_will_restart_in"))
        
set_msg_arg_string(2"L i v e !")

__________________
Impossible is Nothing

Last edited by Sylwester; 10-25-2009 at 06:09.
Sylwester 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 17:44.


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