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

Pages: 1 2


Re: Knife Shot - AbyssMorgan - 18.06.2016

Update 2.1:
function call OnPlayerGiveDamage / OnPlayerTakeDamage when the knife hits


Re: Knife Shot - AbyssMorgan - 22.06.2016

Update 2.2:

Added functions:
PHP код:
ToggleKnifeShootForAll(bool:toggle);             //default: true 
bool:IsToggleKnifeShootForAll();                   
ToggleKnifeShootForPlayer(playerid,bool:toggle); //default: false 
bool:IsToggleKnifeShootForPlayer(playerid); 



Re: Knife Shot - Owen007 - 22.06.2016

keep up the awesome work.


Re: Knife Shot - AbyssMorgan - 19.02.2017

Update v2.4.0:

- Update for 3DTryg v4.0.2 !

- Added collision detect

- Removed options:
PHP код:
DISABLE_KNIFE_SOUND Now use OnPlayerGiveDamage OnPlayerTakeDamage
USE_OLD_KNIFE_DATIVE
DISABLE_KNIFE_CALL_DAMAGE 
3DTryg already call OnPlayerGiveDamage OnPlayerTakeDamage 



Re: Knife Shot - Sumit4 - 19.02.2017

Nice FS


Re: Knife Shot - justice96 - 19.02.2017

Will try it soon!


Re: Knife Shot - AbyssMorgan - 22.02.2017

Update v2.5.0:

- Added functions:
PHP код:
Float:GetKnifeShootDamage(playerid);
SetKnifeShootDamage(playerid,Float:amount);
Float:GetKnifeShootSpeed(playerid);
SetKnifeShootSpeed(playerid,Float:speed);
Float:GetKnifeShootRange(playerid);
SetKnifeShootRange(playerid,Float:range); 



Re: Knife Shot - AbyssMorgan - 23.02.2017

Update v2.5.1:
- Fixed latest update bugs (Weapon not working).


Re: Knife Shot - Variable™ - 23.02.2017

Gotcha, keep up the work.


Re: Knife Shot - KatarinaCalzaghe - 13.02.2018

Update v2.6.0:

- Added Functions:
PHP код:
GetKnifeShootAmmo(playerid);
SetKnifeShootAmmo(playerid,ammo); 
- Added Callbacks:
PHP код:
OnPlayerRequestKnifeShot(playerid,targetid); //return 0 - prevent to use knife shoot (this callback is called also if ammo is 0) 
- Added Definitions:
PHP код:
KNIFE_WEAPON_AMMO_INFINITY 



Re: Knife Shot - Astralis - 17.02.2018

Really interesting to see this!