Raised This Month: $ Target: $400
 0% 

Duels help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-23-2016 , 01:02   Re: Duels help
Reply With Quote #1

Quote:
Originally Posted by raizo11
Can you explain more how to make more rounds please
Look at these highlighted code lines. Using these, you can count the wins and rounds, then to create a logic/algorithm to your plugin and force/allow it to control the plugin as you want to: duel ends after one player win with 10-0 or 10-4 or 10-6 variable score ... But 9-0 of 9-4 or 9-9 round not end ... after duel ends respawn players normal. After duel ends get to all message ... Winner name win with [10-9,10-2,10-5] Losser name lose with [9-10 , 2-10, 5-10]

To know how to control your plugin, you must to know how it starts and ends the duel, then you can block it and only allow it to end, when your rules are fit. See these highlighted code lines to have an example about how to block/allow some behavior. To acquire such Knowledge, you can read/debug your code.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 01-23-2016 at 09:20. Reason: spelling fix
addons_zz is offline
Reply



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 18:12.


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