SA-MP Forums Archive
A few ideas to create a duel system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: A few ideas to create a duel system (/showthread.php?tid=658088)



A few ideas to create a duel system - Score - 22.08.2018

Hello, recently i started making a DM gamemode and i wanted to get a few ideas on how to make a 3v3 duel system, i have no clue on that at all.. If someone can give me a few tips and ideas, it doesn't matter if it's in dialogs or in commands, i just want it to work and stuff.


Re: A few ideas to create a duel system - Alteh - 22.08.2018

Code:
new LimitDuel[MAX_PLAYERS];

//check
if(LimitDuel[playerid] > 3 ) return SendClientMessage(playerid,-1,"Noup, im sorry bruh. ^^");

//Count
LimitDuel++;
:d