Raised This Month: $51 Target: $400
 12% 

[CS1.6] Restart Start Cmd [PLUGIN]


Post New Thread Reply   
 
Thread Tools Display Modes
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 06-24-2016 , 23:12   Re: [CS1.6] Round Start Cmd [PLUGIN]
Reply With Quote #11

Thanks for fixed my error
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 06-25-2016 , 14:08   Re: [CS1.6] Round Start Cmd [PLUGIN]
Reply With Quote #12

Quote:
Originally Posted by Amine Belokda View Post
Hi All
You Want Restart Round With Cmd Exmple: Add This Command in Console (" admin_rs " ) = Restart Round
Code PLUGIN
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <ColorChat>

#define PLUGIN "CS 1.6 Cmd Restart Round"
#define VERSION "1.5"
#define AUTHOR "KaLo"

new szName[33];

public 
plugin_init() {
    
register_plugin("Restart Round Cmd""1.5""KaLo")
    
    
register_clcmd("sv_restart 1""Cmd_Restart")
    
register_clcmd("sv_restartround 1""Cmd_Restart")
    
register_clcmd("admin_rs""Cmd_Restart")
    
register_clcmd("admin_rs 4""Cmd_Restart")
}
public 
Cmd_Restart(id){
    if( 
get_user_flags(id) && ADMIN_KICK )
    
ColorChat(idGREEN,"[Restart~Score] ^1You Have No Acces This Command ^4!!")
    {
    
server_cmd("sv_restart 1")
    
ColorChat(idGREEN,"[Restart~Score] ^1Admin ^4%s ^1Has Been Restart ^4Round ^1!!"szName)
}

Command Restart:
sv_restart 1
sv_restartround 1
admin_rs
admin_rs 1

Oh yeah, that totally explains how it doesn't work correctly and how It is not a plugin submission /sarcasm
redivcram is offline
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 06-28-2016 , 22:42   Re: [CS1.6] Round Start Cmd [PLUGIN]
Reply With Quote #13

Quote:
Originally Posted by redivcram View Post
Oh yeah, that totally explains how it doesn't work correctly and how It is not a plugin submission /sarcasm
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 06-29-2016 , 05:39   Re: [CS1.6] Restart Start Cmd [PLUGIN]
Reply With Quote #14

Or: Learn English
redivcram 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 02:46.


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