Raised This Month: $404 Target: $400
 101% 

Miniduels! + Top15 + Stats!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-24-2012 , 16:38   Miniduels! + Top15 + Stats!
Reply With Quote #1

Mini Duels System!


Description
  • Based in TF2 , allows the player to challenge another player to a duel.
  • The plugin contain stats and top15 ( In the stats you can see the last day when you play duel , the last guy who you played in the last duel , if you win the last duel , etc )
  • You can look the player who are you dueling with the glow declared in cvar ( only you can see )

Commands
  • /duel (Send invitation to duel)
  • /duelstats (Look player's stats online in server)
  • /topduels ( top 15 stats from the database )

Requirements
  • This plugins must be in top of plugins.ini ( because it hook 'amx_kick' command )
  • MySQL Server
  • STEAM

Notes


You can change the glow of the teams , changing this cvar..
Code:
register_cvar( "dl_tt_glow", "255000000" ); register_cvar( "dl_ct_glow", "000000255" );
Parsing , is "REDGREENBLUE"
PS: The changes will be update in next spawn.

To change your values to MySQL :

Code:
new gTable[] = "duels"; static szHost[]  = ""; static szUser[]  = ""; static szPass[]  = ""; static szDB[]    = "";

DON'T LEAVE , always if you want to change anything , remember to add ; , or the plugin will not compile!.

The dueling is canceled if:
  • One of the player dueling is kicked.
  • If an admin change map.
  • if both players are in the same team.

If the database doesn't have data , the /topduels didn't works , always should got any data to works, at least 2 players.

I can add a version with sprite in the head in both players like same than TF2 , but i dont have the sprites, if anyone want to make it , i will try to add it to the plugin!

Changelog
  • Version 1.0
    - Initial Release

ML

The actual ml's thread is here.
  • [ES] ; lucas_7_94
  • [EN] ; lucas_7_94
  • [BP] ; rx1983
  • [MY] ; JoKeR LauGh
  • [PL] ; naXe
  • [RO] ; tuty
  • [DE] ; Mordekay

Screenshots

Enjoy it!.
Attached Files
File Type: sma Get Plugin or Get Source (MiniDuels.sma - 1001 views - 20.8 KB)
File Type: txt MiniDuelsML.txt (11.3 KB, 486 views)
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.

Last edited by lucas_7_94; 01-26-2012 at 05:30. Reason: Update ML
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Melisko
Senior Member
Join Date: Feb 2010
Old 01-24-2012 , 17:22   Re: Miniduels!
Reply With Quote #2

How about to teleport them to the "blocked part" on d2 only ( I mean when you are in jail for auto attacking at B plant) and with this there can be added menu (gun duel/knife duel)
Melisko is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-24-2012 , 17:31   Re: Miniduels!
Reply With Quote #3

mm dude , if you have 16 players in a server , and block a zone only for a duel , i think its not required , its based in tf2 , you dont need a special arena to play!

Btw , i dont test, but i think this + CSDM will be good.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-24-2012 , 21:09   Re: Miniduels!
Reply With Quote #4

Nice !

Quote:
Originally Posted by lucas_7_94 View Post
DON'T LEAVE , always if you want to change anything , remember to add ; , or the plugin will not compile!.
The solution is : remove
Code:
#pragma semicolon 1
__________________
You can do anything you set your mind to, man.

Devil259 is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-24-2012 , 21:37   Re: Miniduels!
Reply With Quote #5

Yea, but its referer to new users , btw , thanks.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-24-2012 , 22:21   Re: Miniduels!
Reply With Quote #6

[es]
ultimo dia jugado? dust_2 no tendria que ser ultimo mapa jugado? jaja
y en vez de Gano el ultimo duelo? Yes.. quedaria mejor Resultado: Victoria/Derrota

[en]

last day played? dust_2? should be, last map played. lol
and, instead "won the last duel?" Yes/No .. would be better: Result: Victory/Defeat

GJ
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 01-24-2012 at 22:23.
Starsailor is offline
Old 01-24-2012, 22:28
lucas_7_94
This message has been deleted by lucas_7_94.
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-24-2012 , 22:52   Re: Miniduels!
Reply With Quote #7

- Updated ( no new version )
- Some fix in prints ( sending message to all ).
- Added customize results for WinLastDuel ?

Thanks for all!.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Kiske
Veteran Member
Join Date: May 2009
Old 01-24-2012 , 23:18   Re: Miniduels! + Top15 + Stats!
Reply With Quote #8

Congratulations!
Kiske is offline
Send a message via Skype™ to Kiske
Daddy-K
Junior Member
Join Date: Jun 2010
Location: Romania/Mangalia
Old 01-25-2012 , 03:49   Re: Miniduels! + Top15 + Stats!
Reply With Quote #9

For NonSteam server not working?
Daddy-K is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 01-25-2012 , 05:09   Re: Miniduels! + Top15 + Stats!
Reply With Quote #10

buy cs on steam it's 8 bucks
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Reply


Thread Tools
Display Modes

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 00:29.


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