23.07.2012, 04:09
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:
- 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):
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.
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.
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}
};
- 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.