Change the map and kick all clients
Ok i made this (with help from hawk) to kick all clients... it works but I want to change the map after evrybody is kicked
for example I want to kick evrybody and change the map to de_cpl_fire amx_changekick de_cpl_fire Plugin: Code:
// Kick all clients by eRik */ |
Re: Change the map and kick all clients
Code:
sure, you can change de_dust2 to everything you want, or even better, you can leave this decision to server managers by cvar. |
Re: Change the map and kick all clients
how can i change it ingame ?
thnx btw:up: |
Re: Change the map and kick all clients
you cant change it in game if u want to make it changeable in game u need to make it like this:
Code:
then just change the cvar to w/e u want (think get_cvar_string should work not sure tho) |
Re: Change the map and kick all clients
This doesn't work :(
errors Code:
Welcome to the AMX Mod X 1.70-300 Compiler.Damn they have to fix that funcwiki , its so nice:avast: |
Re: Change the map and kick all clients
I'm amazed by the thing I said in new plugins and people posting when they have no clue at all what they're talking about.
Code:
|
Re: Change the map and kick all clients
Thankyou, Hawk!:D
|
Re: Change the map and kick all clients
Shouldn't the kick_all function definition be like this...
Code:
or was there a major change between 1.70-1.75 that I don't know about? |
Re: Change the map and kick all clients
Quote:
EDIT: Also, I just realized, the reason will always be blank unless you read the arg. |
Re: Change the map and kick all clients
so i have to read_argv from REASON ?
|
| All times are GMT -4. The time now is 07:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.