Raised This Month: $ Target: $400
 0% 

New Restart Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 06-19-2016 , 00:59   Re: New Restart Round
Reply With Quote #1

Quote:
Originally Posted by Houssam Benmouna View Post
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"

// Add This TO Fixed Plugin -_- //
#define is_user_admin(%1)   (get_user_flags(%1) & ADMIN_KICK)

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
    }

__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
Houssam Benmouna
Senior Member
Join Date: Apr 2016
Old 06-21-2016 , 08:17   Re: New Restart Round
Reply With Quote #2

Thnx
Houssam Benmouna 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 23:29.


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