[FilterScript] [New]Death Matchs System
#1

Death Matchs FilterScript

Features:
  • Kill Counter
  • Kill Streak
  • Disable/Enable Death Matchs
  • Get all players to dm
  • Limit a player from DM
  • Spectating In DM
  • Exit From DM
  • Chat DM
  • Auto Start Minigun & Rpg DM
Needs:
  • include a_samp - Samp Team
  • include streamer - Incognito
  • include zcmd - Zeex
  • include sscanf2 - maddinat0r
Commands:
Code:
/DeathMatchs (/DM) - Join The DeathMatchs   
/Exit - Exit From DeathMatchs     
/gExit - Exit From GunGame 
/LockDm - Limit a Player From DeathMatchs 
/UnLockdm - Remove Limit a Player      
/SpecDm - Show DeathMatchs
/Getallplayerstodm (/gatd) - Get All Players To DeathMatchs
Type .chat For Chat In DM And Send Message For Players In Dm! Example: .Hello!
ScreenShots:
DeathMatchs Dialog:

Join The DeathMatch:

Dialog SpecDM:

Dialog GetAllPlayersToDm:



Downloads Link:
MediaFire - Download
PasteBin - source code
Reply
#2

Pastebin/github?
Reply
#3

Pastebin please
Reply
#4

Quote:
Originally Posted by RogueDrifter
View Post
Pastebin/github?
Quote:
Originally Posted by AzaMx
View Post
Pastebin Please
Click Here!
Reply
#5

Epic +REP
Reply
#6

Wow nice one of the best death math filter scripts +rep from me
Question:can I move to another DM when I'm already in a DM if it is plz change that so players can death evade easily anyway goodjob
Reply
#7

Quote:
Originally Posted by Neom
View Post
Epic +REP
Quote:
Originally Posted by GameOvr
View Post
Wow nice one of the best death math filter scripts +rep from me
Question:can I move to another DM when I'm already in a DM if it is plz change that so players can death evade easily anyway goodjob
No it's not epic nor is it nice at all.

Sorry but this is horrible for multiple reasons starting with the fact that the creator didn't indent the code right (tabsize is 4 not -1)

And many more which i can't be bothered to state anymore.
Reply
#8

Rouge so can you make a better DM system plz with these features
Commands:dm -list of DMS (dialog mode)
dm1-alternativecommand to enter dm
dm2-alternativecommand to enter DM
Plz add even 6 or 5 DMS
Kill streak for DM
SetPlayerHealth (killerid, 100) feature
Random respawns
Player can't enter another DM while he is in a DM
/exit for leave (when player leaves he must spawn at the place that he entered the DM)

Thanks if you made a fs like this plz try
Reply
#9

Quote:
Originally Posted by GameOvr
View Post
Wow nice one of the best death math filter scripts +rep from me
Question:can I move to another DM when I'm already in a DM if it is plz change that so players can death evade easily anyway goodjob
Thank You
Reply
#10

Quote:
Originally Posted by RogueDrifter
View Post
No it's not epic nor is it nice at all.

Sorry but this is horrible for multiple reasons starting with the fact that the creator didn't indent the code right (tabsize is 4 not -1)

And many more which i can't be bothered to state anymore.
In my opinion, I've written it is great and there is no problem or bug in my script.
You do not use this my script if you think it's very bad
Reply
#11

Quote:
Originally Posted by Vizi10
View Post
In my opinion, I've written it is great
And in my opinion you can't rate your own thread

I haven't tested your system yet but I appreciate effort you've done
Reply
#12

You constantly change the textdraw to show kills to player like 20+ times a second (in OnPlayerUpdate). Use OnPlayerDeath and change it only when needed:
pawn Code:
// example:
public OnPlayerDeath(playerid, killerid, reason)
{
    if (killerid != INVALID_PLAYER_ID)
    {
        new string[23];
        format(string,sizeof(string),"~G~Kills:    ~w~%d",pInfo[playerid][pKills]);
        TextDrawSetString(Textdraw3,string);
    }
    return 1;
}
2 more things:
• When player dies on their own, killerid is 65535 (INVALID_PLAYER_ID). If you use it in arrays as [killerid], then a run time error 4 will occur and the code execution will stop. You are lucky now because you do not have code after this, but if you did it would bug it. Always check if it is not equal to INVALID_PLAYER_ID and then use it.
• You can use switch instead of if/else if in cases like checking listitem and Skills[killerid].
Reply
#13

Quote:
Originally Posted by Vizi10
View Post
In my opinion, I've written it is great and there is no problem or bug in my script.
You do not use this my script if you think it's very bad
Yeah I also feel that this is a better script but I haven't checked yet can you state that these features are in your script or not

Quote:
Originally Posted by GameOvr
View Post
Rouge so can you make a better DM system plz with these features
Commands:dm -list of DMS (dialog mode)
dm1-alternativecommand to enter dm
dm2-alternativecommand to enter DM
Plz add even 6 or 5 DMS
Kill streak for DM
SetPlayerHealth (killerid, 100) feature
Random respawns
Player can't enter another DM while he is in a DM
/exit for leave (when player leaves he must spawn at the place that he entered the DM)

Thanks if you made a fs like this plz try
Reply
#14

Quote:
Originally Posted by GameOvr
View Post
Yeah I also feel that this is a better script but I haven't checked yet can you state that these features are in your script or not
Yes my script have this features
Reply
#15

Quote:
Originally Posted by GameOvr
View Post
Yeah I also feel that this is a better script but I haven't checked yet can you state that these features are in your script or not
Quote:
Originally Posted by Calisthenics
View Post
You constantly change the textdraw to show kills to player like 20+ times a second (in OnPlayerUpdate). Use OnPlayerDeath and change it only when needed:
pawn Code:
// example:
public OnPlayerDeath(playerid, killerid, reason)
{
    if (killerid != INVALID_PLAYER_ID)
    {
        new string[23];
        format(string,sizeof(string),"~G~Kills:    ~w~%d",pInfo[playerid][pKills]);
        TextDrawSetString(Textdraw3,string);
    }
    return 1;
}
2 more things:
• When player dies on their own, killerid is 65535 (INVALID_PLAYER_ID). If you use it in arrays as [killerid], then a run time error 4 will occur and the code execution will stop. You are lucky now because you do not have code after this, but if you did it would bug it. Always check if it is not equal to INVALID_PLAYER_ID and then use it.
• You can use switch instead of if/else if in cases like checking listitem and Skills[killerid].
I will use the update later
thank you
Reply
#16

Quote:
Originally Posted by SonnyGamer
View Post
And in my opinion you can't rate your own thread

I haven't tested your system yet but I appreciate effort you've done
thank you
Reply
#17

Good work on the project.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)