SA-MP Forums Archive
[FilterScript] Advanced DM System V 2.0 [ZCMD] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Advanced DM System V 2.0 [ZCMD] (/showthread.php?tid=604789)



Advanced DM System V 2.0 [ZCMD] - SyS - 10.04.2016

Advanced DM System V 2.0 [ZCMD]

Hello mates! Today im going to release the 2nd version of my Filterscript Simple DM System.The new version is Advanced DM system.Now the system have 10 dm zones in total .
New features v 2.0 Old features v 1.0 DM Zones And Commands
/de - Deagle DM
/sos - Sawnoff DM
/rw - Running Weapons Dm
/snipedm - Sniper DM
/sos2 - Sawnoff DM 2
/snipedm2 - Sniper DM 2
/shipdm - Ship DM
/wz - Warzone
/shotdm - Shot Gun DM
/mini - Minigun DM

/histound - turn hitsound [on/off]
/headshot - turn headshot system [on/off] for rcon admins (Deagle and Sniper only supports)
/dm - shows list of dm

Use '#' inside a dm zone to chat with players in DM

How to Allow Specified CMDS in DM
I used Zcmd callback to block the cmds in dm zone But if you want some cmds to be allowed in the Zone you can add those commands in following lines
PHP Code:
public OnPlayerCommandReceived(playeridcmdtext[])
{
   
    if(
Info[playerid][indm] == )
    {
        
//ADD "ALLOWED" CMDS BELOW!!--------------------------------------------------------------------------------
        
if(!strfind(cmdtext"/leave")) return 1
        
else if(!strfind(cmdtext"/dm")) return 1;
        else if(!
strfind(cmdtext"/de")) return 1;
        else if(!
strfind(cmdtext"/sos")) return 1;
        else if(!
strfind(cmdtext"/rw")) return 1;
        else if(!
strfind(cmdtext"/sos2")) return 1;
        else if(!
strfind(cmdtext"/snipedm")) return 1;
        else if(!
strfind(cmdtext"/shotdm")) return 1;
        else if(!
strfind(cmdtext"/sniepdm2")) return 1;
        else if(!
strfind(cmdtext"/mini")) return 1;
        else if(!
strfind(cmdtext"/shipdm")) return 1;
        else if(!
strfind(cmdtext"/wz")) return 1;
        
//---------------------------------------------------------------------------------------------------------
        
GameTextForPlayer(playerid"~w~You are not in Freeroam ~r~/leave ~w~to Exit"50005);
       
        return 
0;
    }
    return 
1;

Special Thanks to Oma_ and Mbah to help me in testing this script

DOWNLOAD
Github


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 11.04.2016

Quote:
Originally Posted by Scripter18
View Post
Superb Nice
Thanks bro


Re: Advanced DM System V 2.0 [ZCMD] - ThugLife2424 - 11.04.2016

Good Job Nice Bro


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 11.04.2016

Quote:
Originally Posted by ThugLife2424
View Post
Good Job Nice Bro
Thanks pics are cominggg


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 13.04.2016

Thread Updated with Information for people who doesnt know how to disable and allow cmds in dm zone


Re: Advanced DM System V 2.0 [ZCMD] - UltraScripter - 13.04.2016

Good job +rep


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 15.04.2016

Quote:
Originally Posted by UltraScripter
View Post
Good job +rep
Thanks


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 02.05.2016

It would be nice if someone take pics of this system im alone and working on some other projects pic credit will be added thanks in advance


Re: Advanced DM System V 2.0 [ZCMD] - GhostHacker - 09.05.2016

Hmm im not good in taking pics so i cant help you


Re: Advanced DM System V 2.0 [ZCMD] - SyS - 09.05.2016

ok thanks for your reply still looking for someone


Re: Advanced DM System V 2.0 [ZCMD] - thesuperuser - 11.05.2016

Great work man, this is very good!