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

Simple Clanwar Management


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Xaver
Junior Member
Join Date: May 2006
Location: Czech Republic, Turnov
Old 05-20-2006 , 10:34   Simple Clanwar Management
Reply With Quote #1

Hi, 1st, I am sorry for my bad english, I'm only 14 ;)

This plugin allows ALL players on server at the moment change map, restart, start match, stop match or "LIVE"..There is few maps in the source, u can add more, if u see source, it's easy..But :)

Quote:
register_clcmd("say /what_u_want_to_say", "cmd_urcommand", 0, "- changelevel ur_map")
and lower:
Quote:
public cmd_urcommand(id) {
#if defined ADMINS_ONLY
if (!access(id, ADMIN_MENU)) {
client_print(id, print_chat, "SCM: !!! you have no access to this command")
return PLUGIN_HANDLED
}
#endif
if (match_inprogress != 1) {
set_task(2.0, "change_map", 0, "ur_map", 8)
all_msg("changing map to ur_map")
} else {
client_print(id, print_chat, "SCM: !!! cannot change map, match already in progress, you have to stop the match first (use say /stop)")
}

return PLUGIN_CONTINUE
}
See? Its easy :)
Attached Files
File Type: rar scm_0.9.rar (20.7 KB, 178 views)
Xaver is offline
Send a message via ICQ to Xaver Send a message via AIM to Xaver
Xaver
Junior Member
Join Date: May 2006
Location: Czech Republic, Turnov
Old 05-20-2006 , 10:42   works for..
Reply With Quote #2

Works on nonsteam, maybye steam, I don't know, my public is nonsteam..And plz, comment it, this is my 1st plugin..
Commands are in readme ;)
__________________
4game.cz head admin
FakaHeda.eu technical support
Counter-Strike 1.6 player, admin
Counter-Strike Source hater
www.stinovlas.com
Xaver is offline
Send a message via ICQ to Xaver Send a message via AIM to Xaver
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 05-21-2006 , 07:45  
Reply With Quote #3

request that the orginal author adds support for more maps, or at least makes it so that you can add them yourself via a cvar or ini file.

This is moved to unapproved
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Xaver
Junior Member
Join Date: May 2006
Location: Czech Republic, Turnov
Old 05-21-2006 , 10:34   hey..
Reply With Quote #4

omg, I wrote it..I wrote "guide" for add new map, see?


register_clcmd("say /what_u_want_to_say", "cmd_urcommand", 0, "- changelevel ur_map")

and lower:
Quote:

public cmd_urcommand(id) {
#if defined ADMINS_ONLY
if (!access(id, ADMIN_MENU)) {
client_print(id, print_chat, "SCM: !!! you have no access to this command")
return PLUGIN_HANDLED
}
#endif
if (match_inprogress != 1) {
set_task(2.0, "change_map", 0, "ur_map",
all_msg("changing map to ur_map")
} else {
client_print(id, print_chat, "SCM: !!! cannot change map, match already in progress, you have to stop the match first (use say /stop)")
}

return PLUGIN_CONTINUE
}

so there is no guide, hmm?yeah, I see..young programmer are bad, here, right? že já se vůbec KURVA snazim doprdele uz DEMENTE ZASRANEJ FUCKING BASTARD
__________________
4game.cz head admin
FakaHeda.eu technical support
Counter-Strike 1.6 player, admin
Counter-Strike Source hater
www.stinovlas.com
Xaver is offline
Send a message via ICQ to Xaver Send a message via AIM to Xaver
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:28.


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