Raised This Month: $ Target: $400
 0% 

2 lil questions :)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Amonel
Senior Member
Join Date: May 2009
Old 10-25-2009 , 04:34   Re: 2 lil questions :)
Reply With Quote #1

thanks for advice, it was very helpfull.. now i fixed 4 scripts

erm.. i tryed what u said

PHP Code:
public plugin_init(){
    
register_event("TextMsg""event_game_restart""a""2=#Game_will_restart_in")
}

public 
event_game_restart()
{
            
client_print(0print_center"L i v e !");

and this one too
PHP Code:
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_message(get_user_msgid("TextMsg"), "eTextMsg")
}

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

but no one works if i use "amx_cvar sv_restart 1"
Amonel is offline
Reply



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