SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 29/09/2013, 11:44 PM   #1
Rose69
Little Clucker
 
Join Date: Jul 2013
Posts: 21
Reputation: 0
Default Duel Command

Hello SAMP, and welcome.
Today i got another FS, this is a Duel command,This is not like every Duel, this command is only for admins,
It is for RP server- only admins can use it, admin level3+, like to have fun with there friends, i have this on my server.

Obviously you can change the admin level to any level you would like.
All you need to do is just change the number in Red

Code:
if(PlayerInfo[playerid][pAdmin] >=3)
It is a small Tutorial, but pretty good, Hope you enjoy it, and you may use it any ytime, but don't forget the credits and claim it is yours.

Enjoy, leave a comment, rate.


Pastebin:
http://pastebin.com/qXw164vm

Last edited by Rose69; 30/09/2013 at 02:54 AM.
Rose69 is offline   Reply With Quote
Old 30/09/2013, 01:23 AM   #2
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: Duel system

This isn't a duel system it's just a command to start a duel what about when a player dies?
Pottus is offline   Reply With Quote
Old 30/09/2013, 02:53 AM   #3
Rose69
Little Clucker
 
Join Date: Jul 2013
Posts: 21
Reputation: 0
Default Re: Duel system

Quote:
Originally Posted by [uL]Pottus View Post
This isn't a duel system it's just a command to start a duel what about when a player dies?
When you die, you just spawn back at the place you where before you entered the duel, and you will still have your guns, armor, hp.
But that isn't included here. if you want, you can do your own, i forgot to put it in.
Rose69 is offline   Reply With Quote
Old 30/09/2013, 03:36 AM   #4
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: Duel system

I think your missing the whole point, implementing a duel script is not as simple as slapping an include into just any gamemode it has to be built into the gamemode to work correctly otherwise your going to have conflicts and/or undefined behavior.
Pottus is offline   Reply With Quote
Old 30/09/2013, 05:11 AM   #5
kbalor
High-roller
 
kbalor's Avatar
 
Join Date: May 2012
Location: Philippines
Posts: 1,240
Reputation: 54
Default Re: Duel system

[uL]Pottus - His new and he was trying to share. Maybe for him its a big work coz he made the script working. But for me I shouldn't post it as a filterscript, rather than keep it for future help.
__________________
kbalor is offline   Reply With Quote
Old 01/10/2013, 06:39 AM   #6
Rose69
Little Clucker
 
Join Date: Jul 2013
Posts: 21
Reputation: 0
Default Re: Duel system

Quote:
Originally Posted by kbalor View Post
[uL]Pottus - His new and he was trying to share. Maybe for him its a big work coz he made the script working. But for me I shouldn't post it as a filterscript, rather than keep it for future help.
Like he said, this is my first time scripting, so I'm learning.
Rose69 is offline   Reply With Quote
Old 01/10/2013, 06:51 AM   #7
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: Duel system

That is perfectly fine, I'm just pointing out where you made mistakes what does hearing "good job" get you? Absolutely nothing. You need to hear the problems otherwise you'll keep making the same mistakes
Pottus is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Duel System DKN | /duel [playerid] ipsBruno Filterscripts 10 22/05/2018 01:55 AM
Need help with duel system [/duel] admantis Scripting Help 5 12/11/2011 08:10 AM
help,Duel system TheBest6 Scripting Help 3 17/10/2011 12:13 PM
Duel System ServerRestart Help Archive 4 10/07/2011 09:13 AM
[HELP] Duel System NotoriousMOB Help Archive 12 22/09/2010 12:20 PM


All times are GMT. The time now is 05:45 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.