Raised This Month: $32 Target: $400
 8% 

Counter-Strike Duel Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
mateo10
Veteran Member
Join Date: Jan 2006
Old 02-24-2007 , 09:13   Counter-Strike Duel Plugin
Reply With Quote #1

Counter-Strike Duel Plugin

Usage
When duel mod is started all players but 2 will be moved to spectator. The 2 not moved will be placed in CT and T team and will be given a M4A1, an USP and a knife. When ie. the CT player kills the T player a HUD message will be displayed in the center of the screen that says "<ctplayername> won the duel against <tplayername>" and the loser will be switched against another player from spectator.

Admin Commands
csdp_enable 1/0 - Enable/Disable plugin (Default 1)
csdp_saveduels 1/0 - Save duels/Don't save duels (Default 1)
csdp_votestostop # - Decides how many votes needed to stop duelmod (Default 5)
csdp_startduel - Starts duel mod
csdp_stopduel - Stops duel mod

User Commands
say !duelstats - Shows your duels won and lost (if csdp_saveduels is 1 it is saved by vault)
say !stopduel - Votes to stop duelmod. Number of votes required is decided by the cvar csdp_votestostop

Modules Needed
CStrike
Fun
Engine

Good to know
When duel mod is started noone can choose teams. After duel mod is stopped you can choose teams again.

Credits
Servak (ideas)
Fadeproof18 (ideas)

Updates
1.0

- Release for public.
1.0b

- Plugin will now work for dedicated servers.
- Added !stopduel votecommand for players.
1.0c

- Fixed the player checks (Suggested by VEN)
- Fixed another way to delete the bomb (Suggested by VEN)
- Added an ADMIN_LEVEL define which you can change to fit your level
- Now the players cant use jointeam or joinclass either
1.0d

- Changed the get_user_flags(id) to is_user_admin(id)
- NOW the players cant use jointeam or joinclass
- Fixed some of the bugs (Suggested by VEN)
1.1

- Fixed the bomb deleting event
- Moved the if(DuelMod) before the code in logevent_round_start()
Attached Files
File Type: sma Get Plugin or Get Source (csdp.sma - 6415 views - 6.1 KB)

Last edited by mateo10; 03-20-2007 at 07:14.
mateo10 is offline
 



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 11:47.


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