Raised This Month: $ Target: $400
 0% 

Leauge Plugin


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 06-27-2004 , 00:05   Leauge Plugin
#1

First plugin in a while guys, but here goes nothing....

Code:
/* AMX Mod script. * * (c) 2004, Strake * This file is provided as is (no warranties). */ #include <amxmodx> new Team1[64] new Team2[64] public plugin_init(){     register_plugin("Leauge","1.0","strake")     register_cvar("sv_leauge", "0")     register_cvar("match_team1", "Team 1")     register_cvar("match_team2", "Team 2")     register_concmd("amx_leauge", "leauge", ADMIN_RCON)     register_concmd("amx_startmatch", "start", ADMIN_RCON) } public leauge() { server_cmd("exec leauge.cfg") client_print(0, print_chat, "Leauge Configuration File Activated") client_print(0, print_chat, "Let the Games Begin") } public start() { get_cvar_string("match_team1", Team1, 64) get_cvar_string("match_team2", Team2, 64) server_cmd("amx_tsay red MATCH START. %s VS. %s", Team1, Team2) server_cmd("sv_restartround 1") server_cmd("sv_restartround 1") server_cmd("sv_restartround 1") }

Quote:
CVARs:
match_team1 <The name of the first team goes here>
match_team2 <The name of the second team goes here>
<End CVARS>

COMMANDS:
amx_leauge <Start Plugin> (Exec file Leauge.cfg)
amx_startmatch <Starts the Fighting> (Uses CVARs match_team1, and match_team2)
<END COMMANDS>

This Plugin compiles with no errors, but has not been tested on a server yet
Attached Files
File Type: amx match.amx (1.2 KB, 145 views)
__________________
[cTs] Strake*ROC* is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 06-27-2004 , 00:42  
#2

haha... u spelled the title wrong "Leauge Plugin!" u spell it League
__________________
Burnzy is offline
Send a message via AIM to Burnzy
helpjoe
Junior Member
Join Date: Apr 2004
Old 06-27-2004 , 02:46  
#3

wtf does this do?
I dnt understand...


So can you explain!
__________________
Hmmm, I found a Superhero mod Counter Strike SOURCE server @ 72.232.91.93:27015
helpjoe is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-27-2004 , 05:10  
#4

This will not work in any way as expected, please, if you didn't even try the plugin why bother releasing it? Moving to off-topic and locking.
Johnny got his gun is offline
Closed Thread



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 21:03.


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