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



Swat Cannon like Rhino. - verlaj - 09.06.2014

Script is tested and is pretty much accurate!
Note:you'll need foreach by ******
Note: For new version you would need mapandreas v1.1 by kelcor and updated by (mauzen)

http://tinypic.com/r/kbauls/8
http://tinypic.com/r/eqdzz7/8
http://tinypic.com/r/30ifhqb/8
http://tinypic.com/r/kbauls/8

Features and Updates
*Players can now use Y and N respectively to change the cannon's range.
*Added a Timer to Call OnPlayerDeath callback when a player is killed by the cannon.
*Added Dispersion value by speed.

command for setrange.
Код:
CMD:setrange(playerid, params[])
{
	new range1;
    if(sscanf(params, "i", range1)) return SendClientMessage(playerid, COLOR_USAGE, "Usage: /SetRange [Range Of Cannon Fire].");
    if(range1 < 20 || range1 > 200) return SendClientMessage(playerid, COLOR_FIREBRICK, "ERROR: Invalid Range, it should be between 20 meters to 200 meters.");
    else
    {
        new String[128];
        CannonRange[playerid] = range1;
        format(String, sizeof(String), "~w~Range Has been Set to %i Meters.", range1);
		GameTextForPlayer(playerid,String,5000,5);
    }
	return 1;
}
Credits:
Pottus and his team for colandreas
Kalcor for mapandreas.

old version : http://pastebin.com/PfTVeJQa

V2.3 : https://pastebin.com/3fraNSvW
V2.3 ColAndreas version: https://pastebin.com/pc6u00W5

v2.2 : http://pastebin.com/mmkCr6zf


Re: Swat Cannon like Rhino. - AIped - 09.06.2014

sounds cool..any pictures would be nice


Re: Swat Cannon like Rhino. - verlaj - 09.06.2014

Will provide with ss soon, only thing i doubt is whether it would create explosion on nearby player or not


Re: Swat Cannon like Rhino. - Bennyy - 09.06.2014

Sounds cool? any pictures?


Re: Swat Cannon like Rhino. - verlaj - 09.06.2014

Uploaded pictures


Re: Swat Cannon like Rhino. - Team_PRO - 09.06.2014

Nice work good for tdm servers.


Re: Swat Cannon like Rhino. - iRaiDeN - 09.06.2014

Pics?


Re: Swat Cannon like Rhino. - verlaj - 09.06.2014

ty

and

http://tinypic.com/r/kbauls/8 these links are directed to pics


Re: Swat Cannon like Rhino. - gARRRy - 09.06.2014

OMG nice gonna test soon


Re: Swat Cannon like Rhino. - Ghazal - 09.06.2014

Nice job,

But how not tested, and you have screens :P


Re: Swat Cannon like Rhino. - grovestreet4life - 09.06.2014

Nice idea lol, well done. Never thought of this before.


Re: Swat Cannon like Rhino. - VladimirMark - 09.06.2014

Sound awesome


Re: Swat Cannon like Rhino. - JonyNguyen - 10.06.2014

Cool
+rep


Re: Swat Cannon like Rhino. - verlaj - 10.06.2014

Uploaded v2 and is more accurate, uses mapandreas


Re: Swat Cannon like Rhino. - verlaj - 10.06.2014

Reuploaded, minor bug fix


Re: Swat Cannon like Rhino. - Devil123 - 10.06.2014

looks cool keep it up


Re: Swat Cannon like Rhino. - verlaj - 11.06.2014

Ty everyone for reps already created air-plane gun and user friendly samsite planning to release soon!


Re: Swat Cannon like Rhino. - verlaj - 03.06.2015

Made Slight changes to make it even accurate


Re: Swat Cannon like Rhino. - verlaj - 14.08.2017

Updated to V2.3. Changelog can be found on the first page.


Re: Swat Cannon like Rhino. - verlaj - 16.08.2017

Added Colandreas version.