Raised This Month: $ Target: $400
 0% 

Change the map and kick all clients


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 16:16   Re: Change the map and kick all clients
Reply With Quote #1

Quote:
Originally Posted by eRik
so i have to read_argv from REASON ?
you probably should
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Zenith77
Veteran Member
Join Date: Aug 2005
Old 07-04-2006 , 16:21   Re: Change the map and kick all clients
Reply With Quote #2

Just in case you don't know how:

Code:
public kick_all(id, level, cid) {            if(!cmd_access(id, level, cid, 1))                     return PLUGIN_HANDLED;      new reason[30];          read_argv(1, reason, 29); // remember, arguments start at 1, not 0! 0 = command      // other code here... }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 08-19-2006 , 12:13   Re: Change the map and kick all clients
Reply With Quote #3

isnt it easier to use rcon command map de_cpl_fire

??

it kicks all players and changes map, and it is default builtin command in hl server
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Old 08-19-2006 , 12:34   Re: Change the map and kick all clients
Reply With Quote #4

it is easier but client does not know why he dropped.
__________________
EAT YOUR VEGGIES
Silencer123 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 08:00.


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