Raised This Month: $ Target: $400
 0% 

Someone knows how to...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 05-26-2010 , 14:53   Re: Someone knows how to...
Reply With Quote #2

PHP Code:
#include <amxmodx>
public plugin_init(){
    
register_clcmd("say""handle_say")
    
register_clcmd("say_team""handle_say")
}

public 
handle_say(id){
    static 
args[32], cmd[16], tmp[16]
    
read_args(args31)
    
remove_quotes(args)
    
parse(argscmd15tmp15)
    if(
equali("rr"cmd[cmd[0] == '!' || cmd[0] == '/' || cmd[0] == '.'])){
        
server_cmd("sv_restartround %d"str_to_num(tmp))
    }

__________________
Impossible is Nothing
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 05:23.


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