Raised This Month: $ Target: $400
 0% 

Random Command every 10 sec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 06-04-2018 , 20:20   Re: Random Command every 10 sec
Reply With Quote #1

Try this one instead.
6 seconds after round has ended it will run a command.
Change the command and time to what you want.

PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 

#define PLUGIN "New Plug-In" 
#define VERSION "1.0" 
#define AUTHOR "bugsy" 

public plugin_init()  

    
register_plugin(PLUGINVERSIONAUTHOR
    
register_logevent("logevent_round_end"2"1=Round_End")  

  
public 
logevent_round_end()  

    
set_task(6.0"x1" 

  
public 
x1()  

server_cmd("amx_kick STEAMid")


Last edited by 4ever16; 06-04-2018 at 20:23.
4ever16 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 04:33.


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