[FilterScript] Knife Shot
#1

Hello, I would like to present you the Knife Shot Script

Video:
https://www.youtube.com/watch?v=WJZCn3XXRHY

Download:
Knife.inc
3DTryg.inc Thread
ColAndreas Plugin

Installation:
PHP Code:
#include <3DTryg>
#include <Knife> 
Functions:
PHP Code:
Knife::ToggleUseTeam(bool:toggle); //default: false
Knife::IsToggleUseTeam();
Knife::ToggleForAll(bool:toggle); //default: false
Knife::IsToggleForAll();
Knife::ToggleForPlayer(playerid,bool:toggle); //default: false
Knife::IsToggleForPlayer(playerid);
Knife::GetDamage(playerid);
Knife::SetDamage(playerid,Float:amount);
Knife::GetSpeed(playerid);
Knife::SetSpeed(playerid,Float:speed);
Knife::GetRange(playerid);
Knife::SetRange(playerid,Float:range);
Knife::GetAmmo(playerid);
Knife::SetAmmo(playerid,ammo);
Knife::TogglePoisoning(playerid,bool:toggle);
Knife::IsTogglePoisoning(playerid);
Knife::GetPoisoningTime(playerid);
Knife::SetPoisoningTime(playerid,seconds);
Knife::GetPoisoningDamage(playerid);
Knife::SetPoisoningDamage(playerid,Float:damage);* 
Callbacks:
PHP Code:
OnPlayerRequestKnifeShot(playerid,targetid); //return 0 - prevent to use knife shoot (this callback is called also if ammo is 0) 
Definitions:
PHP Code:
KNIFE_SPEED
KNIFE_MAX_RADIUS
KNIFE_REFRESH_ACTION
KNIFE_REFRESH_MISS
KNIFE_DAMAGE
KNIFE_WEAPON_AMMO_INFINITY
KNIFE_DOT_POISONING
KNIFE_POISONING_TIME

WEAPON_KNIFE_THROWN
WEAPON_KNIFE_POISONING 
Activation:
PHP Code:
WeaponKnife

Step 1
Right Mouse Button
Step 2
Left Mouse Button 
Notice:

Filterscript not exist because filterscripts have limits.

This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.


Non-Registered Users:
Bug Report
Reply


Messages In This Thread
Knife Shot - by AbyssMorgan - 30.01.2016, 07:04
Re: Knife Shot - by SyS - 30.01.2016, 07:17
Re: Knife Shot - by K0P - 30.01.2016, 07:44
Re: Knife Shot - by AbyssMorgan - 30.01.2016, 07:46
Respuesta: Knife Shot - by HaRdiiZin - 30.01.2016, 13:19
Re: Knife Shot - by Amunra - 31.01.2016, 08:14
Re: Knife Shot - by AbyssMorgan - 31.01.2016, 08:16
Re: Knife Shot - by Amunra - 31.01.2016, 08:22
Re: Knife Shot - by AbyssMorgan - 31.01.2016, 08:25
Re: Knife Shot - by Amunra - 31.01.2016, 08:28
Re: Knife Shot - by AbyssMorgan - 31.01.2016, 08:31
Re: Knife Shot - by Amunra - 31.01.2016, 08:34
Re: Knife Shot - by AbyssMorgan - 01.02.2016, 15:36
Re: Knife Shot - by AbyssMorgan - 09.04.2016, 05:15
Re: Knife Shot - by AbyssMorgan - 16.06.2016, 15:44
Re: Knife Shot - by MBilal - 16.06.2016, 15:52
Re: Knife Shot - by samp_boy - 17.06.2016, 03:01
Re: Knife Shot - by AbyssMorgan - 17.06.2016, 05:54
Re: Knife Shot - by samp_boy - 18.06.2016, 02:48
Re: Knife Shot - by AbyssMorgan - 18.06.2016, 13:52
Re: Knife Shot - by AbyssMorgan - 18.06.2016, 19:18
Re: Knife Shot - by AbyssMorgan - 22.06.2016, 19:00
Re: Knife Shot - by Owen007 - 22.06.2016, 19:15
Re: Knife Shot - by AbyssMorgan - 19.02.2017, 12:42
Re: Knife Shot - by Sumit4 - 19.02.2017, 15:34
Re: Knife Shot - by justice96 - 19.02.2017, 16:02
Re: Knife Shot - by AbyssMorgan - 22.02.2017, 17:08
Re: Knife Shot - by AbyssMorgan - 23.02.2017, 17:35
Re: Knife Shot - by Variable™ - 23.02.2017, 17:52
Re: Knife Shot - by KatarinaCalzaghe - 13.02.2018, 13:45
Re: Knife Shot - by Astralis - 17.02.2018, 20:18

Forum Jump:


Users browsing this thread: 2 Guest(s)