SA-MP Forums Archive
[FilterScript] MDM v1 - 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] MDM v1 (/showthread.php?tid=314054)



MDM v1 - lamarr007 - 28.01.2012


After long time, i release something what can be usefull for your Freeroam/Stunt/Drift/Fun server

Example of checking if is player in MDM for other commands you have :
pawn Код:
CMD:heal(playerid, params[])
{
    if(minigun[playerid] == 1) return SendClientMessage(playerid, c_red, "Error: This command canґt be use if youґre playing any DM.");
    SetPlayerHealth(playerid, 100.0);
    return 1;
}
!NOTE! :
If you want to DM 100% working with your server, you must merge this filterscript with your gamemode, or you must edit this :
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(minigun[playerid] == 1) return minigun_play(playerid); else
    {
    //Your normal spawn scripts, this is only for example
    SetPlayerPos(playerid, 1958.3783,1343.1572,15.3746);
    }
    return 1;
}
INFO :
- Custom & simple Minigun Arena
(8 objects > CreateObject or CreateDynamicObject, just uncomment inside filterscript)
- Count of joined players
- Object load system
- After die you will auto-join back into MDM
- 113 Lines || 3.5Kb

ARENA SCREEN:

Uploaded with ImageShack.us

CREDITS :
- Me ( lamarr008 )
- Zeex for ZCMD

CHANGELOG :
Код:
28.1.2012 - First release
DOWNLOAD:
http://pastebin.com/5Hy431r3
http://solidfiles.com/d/de59f9a6f7/



Re: MDM v1 - MasterJoker - 28.01.2012

Nice. lol did you use some of my tutorials effort? because this looks familar.


Re: MDM v1 - lamarr007 - 28.01.2012

No, i have this "system" in my Gamemode one month ago I just create new area and re-do it to filterscript.
And your tutorial is really simple, this is a bit sophisticated


Re: MDM v1 - Niko_boy - 28.01.2012

Nice Presentation!
and nice release though!


Re: MDM v1 - lamarr007 - 28.01.2012

Thanks


Re: MDM v1 - MasterJoker - 28.01.2012

Is that so? sorry if i think you copy my tutorial btw nice Filterscript.

Logging out.


Re: MDM v1 - lamarr007 - 28.01.2012

Nothing and Thanks