[FilterScript] Duel System v1.6 (Dialogs+CMDS) (w/ Dynamic Map Builder)
#1

Features
1) A duel dialog system for inviting other player's to a duel easily. (Also has commands if you prefer!)
2) A duel spectate system with textdraws for spectating a duel between players!.
3) A dynamic duel map builder for creating your own duel maps in-game, in less then 1 minute!


Duel invite settings dialog.
---------------------------------------------------------------------------------------------------------------


Commands



Builder commands

Код:
Dueling:
/duelmenu - Show the menu to invite a player to a duel.
/duels - Shows a dialog with a list of players dueling. Click one to spectate.
/duel invite <playerid/name> <betmoney> <duelspot> <weapon1> <weapon2> <weapon3>  -  Invite a player with the specified settings.
/daccept <playerid/name> - Accept a duel invite from a player.
/dinvites - Show a list of your duel invites 

Spectate:
/duel <spec> <playerid/name> - Spectate a player dueling.
/dspecoff - Turn off duel spectating.


/duel cmds - Show a list of duel commands
/duel help - Help with starting a duel.

Builder:

/duel create <duelname>  -  Create a duel location, set's the first dueler position.
/duel save  -  Finish creating of duel location, set's the second dueler position.
/duel edit <duelname>  -  Same process as "/duel create".
/duel setname <location> <newduelname>  -  Rename a duel location's name.
/duel remove <location>  -  Delete a duel location. 

...and more commands
---------------------------------------------------------------------------------------------------------------

Installation
Create folder in scriptfiles called "/Duels/" (Ex: /scriptfiles/Duels/)
2 premade maps we're added for you.

NOTE: This script requires the 'sscanf' plugin by ******. Download it @ https://sampforum.blast.hk/showthread.php?tid=120356

Internal Settings
NOTE: You do not need to edit these defines, unless you want/need too.

pawn Код:
#define MINMONEY 0
Set the minimum bet amount for a duel. (Default: 0 - Free duels)
pawn Код:
#define MAXDUELS 40
Set the total amount of duel maps existing. Maximum amount of maps. (Default: 40)

---------------------------------------------------------------------------------------------------------------

Credits
-Shoutout to my clanmates @ www.abkclan.com for help with testing.
-[ABK]PotH34d for the Duel System (ABKPot)

-Credits to ****** for his sscanf plugin. (https://sampforum.blast.hk/showthread.php?tid=120356)
-Credits to Zeex for 'zcmd'. (https://sampforum.blast.hk/showthread.php?tid=91354)
-Credits to Dracoblue for 'DINI'


---------------------------------------------------------------------------------------------------------------

Download
Mirror 1 - http://www.mediafire.com/download/57...ABKPotH3Ad.zip

Source code: http://pastebin.com/eiLVi3HH

Here is an older version of my script! >>> (https://sampforum.blast.hk/showthread.php?tid=254032)

Mirrors are welcome and appreciated!

Reply
#2

Nice design and work, but i doubt you've taken it from someone else's script ( no offence ) ?
Reply
#3

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
Nice design and work, but i doubt you've taken it from someone else's script ( no offence ) ?
Thank you, and no, this is an upgraded version of my old script (v1.4 ) @ https://sampforum.blast.hk/showthread.php?tid=254032. This script was made from scratch a long time ago.

I had it on my harddrive for a couple of years, then decided to upgrade it.
Reply
#4

Good job mate, keep it up!
Reply
#5

Quote:
Originally Posted by Faix
Посмотреть сообщение
Good job mate, keep it up!
Thank you, Faix!
Reply
#6

Nice work , this can be found in StuntEvolution Gamemode. Why you didn't use that old account?
Reply
#7

Nice, Awesome!
Reply
#8

Nice
Reply
#9

FTW!!, AMAZING LONG TIME WAITING YOU! +REP 555555
Reply
#10

Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
Nice work , this can be found in StuntEvolution Gamemode. Why you didn't use that old account?
Quote:
Originally Posted by BlackBomb
Посмотреть сообщение
Nice, Awesome!
Quote:
Originally Posted by VenomMancer
Посмотреть сообщение
Nice
Quote:
Originally Posted by SPA
Посмотреть сообщение
FTW!!, AMAZING LONG TIME WAITING YOU! +REP 555555
Thank you. Any suggestions or bugs? I will add some suggestions, if it sounds good.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)