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



... aka Boom - iToast - 30.03.2011

Код:
#include <a_samp>

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

public OnFilterScriptInit()
{
	print("... by iToast");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{
	dcmd(ctv, 3, cmdtext);
	dcmd(rtv, 3, cmdtext);
	dcmd(mtv, 3, cmdtext);
	return false;
}

dcmd_ctv(playerid, params[])
{
	#pragma unused params
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);

	for(new i=0; i<400; i++)
	{
		CreateObject(1429, x+1, y, z+i, 0, 0, 0);
		CreateObject(1429, x+2, y, z+i, 0, 0, 0);
		CreateObject(1429, x+3, y, z+i, 0, 0, 0);
		CreateObject(1429, x+4, y, z+i, 0, 0, 0);
		CreateObject(1429, x+5, y, z+i, 0, 0, 0);
		CreateObject(1429, x+6, y, z+i, 0, 0, 0);
		CreateObject(1429, x+7, y, z+i, 0, 0, 0);
		CreateObject(1429, x+8, y, z+i, 0, 0, 0);
		CreateObject(1429, x+9, y, z+i, 0, 0, 0);
		CreateObject(1429, x+10, y, z+i, 0, 0, 0);

	}


	return 1;
}

dcmd_rtv(playerid, params[])
{
	#pragma unused params
	#pragma unused playerid
	for(new i=0; i<MAX_OBJECTS; i++)
	{
		DestroyObject(i);
	}
	return 1;
}

dcmd_mtv(playerid, params[])
{
	#pragma unused params
	#pragma unused playerid
	new Float:x, Float:y, Float:z;
	new r;
	for(new i=0; i<MAX_OBJECTS; i++)
	{
		GetObjectPos(i, x, y, z);
		r = random(1);
		switch®
		{
		    case 0:
		    {
				MoveObject(i, x+random(20000), y+random(20000), z+random(20000), 10);
			}
			
			case 1:
			{
				MoveObject(i, x-random(20000), y-random(20000), z-random(20000), 10);
			}
		}
	}
	return 1;
}
Due to trolls and morons with no lives being dicks in this thread, its essentialy a exploding wall of objects. Basicly, the wall of objects explodes into random directions


Re: ... - Jason010 - 30.03.2011

What is this , lol


Re: ... - iToast - 30.03.2011

Quote:
Originally Posted by Jason010
Посмотреть сообщение
What is this , lol
Join my server to see its amazing the effect it makes


Re: ... - antonio112 - 30.03.2011

Come on, tell us what it is ... I don`t want to connect to your server.

You know, when releasing a filterscript, you want to add as many details as you can about it.


Re: ... - Venice - 30.03.2011

ban ban


Re: ... - iToast - 30.03.2011

Quote:
Originally Posted by antonio112
Посмотреть сообщение
Come on, tell us what it is ... I don`t want to connect to your server.

You know, when releasing a filterscript, you want to add as many details as you can about it.
The script is secretive, join and see its awee


Re: ... - NeTuddMeg - 30.03.2011




Re: ... - iToast - 30.03.2011

Quote:
Originally Posted by venice
Посмотреть сообщение
ban ban
Show some fucking respect jackass. Dont insult me in my ownserver


Re: ... - Markx - 30.03.2011

Quote:
Originally Posted by iToast
Посмотреть сообщение
Show some fucking respect jackass. Dont insult me in my ownserver
SAMP Forum is your server? Lmfao


Re: ... - iToast - 30.03.2011

Quote:
Originally Posted by Markx
Посмотреть сообщение
SAMP Forum is your server? Lmfao
No ingame he said some vulgar things