SA-MP Forums Archive
[FilterScript] Minigun DeathMatch FilterScript [SIMPLE] - 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] Minigun DeathMatch FilterScript [SIMPLE] (/showthread.php?tid=362040)



Minigun DeathMatch FilterScript [SIMPLE] - dr.pepper - 23.07.2012

Hello, this is an easy simple Minigun Deathmatch filterscript. The point of this filterscript is to kill other players with miniguns. This is recommended for freeroam based servers. This script is based on Awesome Stuntages and Impulse99. I do not intend to interfere with any server ideas. This is just a simple script that is nothing like them. This script is not scripted in ZCMD or anything, no main includes is needed for this except for #include <a_samp>.

Commands:
- /mdm (Type this command and you will automatically join the mdm or if you are already in it, you will automatically be spawned normally)

Functions/Variables:
pawn Код:
new InMDM[MAX_PLAYERS]; // Determines if a player is in the Minigun DM or not.
- The point of this is that, when you are typing /mdm (InMDM[playerid] = 1) So when spawned, If it = 1 you are automatically teleported to the DM Area. If you are (InMDM[playerid] = 0) You will automatically stopped being spawned in the /mdm area.

Spawns (There are 6 random spawns):
pawn Код:
new Float:MDMSpawns[][4] = { // Random Minigun DM Spawns (So that players aren't spawned in the same place.)
        {2205.4531,1613.0443,999.9776,4.9999},
        {2218.2949,1613.3134,999.9827,2.7241},
        {2193.5117,1625.7844,999.9706,177.5425},
        {2181.9653,1577.2335,999.9650,6.7742},
        {2228.2803,1594.2496,999.9643,95.4250},
        {2220.1484,1554.7620,1004.7244,353.9040}
};
CallBacks:
- On the callback OnPlayerSpawn, just like the InMDM variable/function when you are spawned, detection as InMDM = 1 spawns you to the DM area and InMDM = 0 spawns you to normal server spawns.

Filterscript: http://pastebin.com/HSAddQ58

Credits: DrPepper

If there are any bugs or any problems, please post them below in this thread.


Respuesta: Minigun DeathMatch FilterScript [SIMPLE] - CaptainMactavish - 23.07.2012

There are too many scripts like this, I don't see the need to create a new one.


Re: Minigun DeathMatch FilterScript [SIMPLE] - dr.pepper - 23.07.2012

Maybe I felt like releasing mine? Maybe I didn't know what to do with my filterscripts?


Respuesta: Minigun DeathMatch FilterScript [SIMPLE] - CaptainMactavish - 23.07.2012

OK, no problem. Maybe some people will find this useful.


Re: Minigun DeathMatch FilterScript [SIMPLE] - Dasharkishanjan5 - 23.07.2012

Its too common..


Respuesta: Minigun DeathMatch FilterScript [SIMPLE] - adrianxd - 23.07.2012

is good