Raised This Month: $ Target: $400
 0% 

New Restart Round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Houssam Benmouna
Senior Member
Join Date: Apr 2016
Old 06-04-2016 , 11:20   New Restart Round
Reply With Quote #1

Hi All I post New Plugin , Restart Round Working No Bug
(Sorry For Bad English)

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <colorchat>

#define PLUGIN "restart round"
#define VERSION "1.0"
#define AUTHOR "PlayBoy"


public plugin_init() {
    
register_plugin("cmd restart round""1.0""PlayBoy")
    
    
register_clcmd("sv_restartround""cmd_sv_restartround")
}

public 
cmd_sv_restartround(id)
{
    if(
is_user_admin(id))
    {    
        new 
szName[32]
        
get_user_name(idszName32)    
        
server_cmd("sv_restartround 1")
        
server_cmd("sv_restart 1"
        
ColorChat(0RED"[Restart Round] ^1Admin: ^4%s ^1Restart Round ^4!"szName
    }

Attached Files
File Type: ini cmds.ini (537 Bytes, 190 views)
File Type: sma Get Plugin or Get Source (restartround.sma - 696 views - 610 Bytes)

Last edited by Houssam Benmouna; 06-04-2016 at 11:26.
Houssam Benmouna 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 23:29.


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