[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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)