SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 18/06/2016, 07:18 PM   #21
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,260
Reputation: 326
Default Re: Knife Shot

Update 2.1:
function call OnPlayerGiveDamage / OnPlayerTakeDamage when the knife hits
AbyssMorgan is offline   Reply With Quote
Old 22/06/2016, 07:00 PM   #22
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,260
Reputation: 326
Default Re: Knife Shot

Update 2.2:

Added functions:
PHP Code:
ToggleKnifeShootForAll(bool:toggle);             //default: true 
bool:IsToggleKnifeShootForAll();                   
ToggleKnifeShootForPlayer(playerid,bool:toggle); //default: false 
bool:IsToggleKnifeShootForPlayer(playerid); 
AbyssMorgan is offline   Reply With Quote
Old 22/06/2016, 07:15 PM   #23
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 178
Reputation: 23
Default Re: Knife Shot

keep up the awesome work.
__________________
My Work:



Join the eternal-games.net and fun with us.

[i]Need a helping hand in starting a new community of zombie server[ pm me/i]
Owen007 is offline   Reply With Quote
Old 19/02/2017, 12:42 PM   #24
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,260
Reputation: 326
Default Re: Knife Shot

Update v2.4.0:

- Update for 3DTryg v4.0.2 !

- Added collision detect

- Removed options:
PHP Code:
DISABLE_KNIFE_SOUND Now use OnPlayerGiveDamage OnPlayerTakeDamage
USE_OLD_KNIFE_DATIVE
DISABLE_KNIFE_CALL_DAMAGE 
3DTryg already call OnPlayerGiveDamage OnPlayerTakeDamage 
AbyssMorgan is offline   Reply With Quote
Old 19/02/2017, 03:34 PM   #25
Sumit4
Big Clucker
 
Join Date: Sep 2016
Posts: 108
Reputation: 18
Default Re: Knife Shot

Nice FS
Sumit4 is offline   Reply With Quote
Old 19/02/2017, 04:02 PM   #26
justice96
Guest
 
Posts: n/a
Default Re: Knife Shot

Will try it soon!
  Reply With Quote
Old 22/02/2017, 05:08 PM   #27
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,260
Reputation: 326
Default Re: Knife Shot

Update v2.5.0:

- Added functions:
PHP Code:
Float:GetKnifeShootDamage(playerid);
SetKnifeShootDamage(playerid,Float:amount);
Float:GetKnifeShootSpeed(playerid);
SetKnifeShootSpeed(playerid,Float:speed);
Float:GetKnifeShootRange(playerid);
SetKnifeShootRange(playerid,Float:range); 
AbyssMorgan is offline   Reply With Quote
Old 23/02/2017, 05:35 PM   #28
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,260
Reputation: 326
Default Re: Knife Shot

Update v2.5.1:
- Fixed latest update bugs (Weapon not working).
AbyssMorgan is offline   Reply With Quote
Old 23/02/2017, 05:52 PM   #29
Variable™
Gangsta
 
Join Date: Jul 2015
Location: Somewhere...
Posts: 655
Reputation: 114
Thumbs up Re: Knife Shot

Gotcha, keep up the work.
Variable™ is offline   Reply With Quote
Old 13/02/2018, 01:45 PM   #30
KatarinaCalzaghe
Banned
 
Join Date: Feb 2018
Location: Barren Land
Posts: 10
Reputation: 0
Default Re: Knife Shot

Update v2.6.0:

- Added Functions:
PHP Code:
GetKnifeShootAmmo(playerid);
SetKnifeShootAmmo(playerid,ammo); 
- Added Callbacks:
PHP Code:
OnPlayerRequestKnifeShot(playerid,targetid); //return 0 - prevent to use knife shoot (this callback is called also if ammo is 0) 
- Added Definitions:
PHP Code:
KNIFE_WEAPON_AMMO_INFINITY 
KatarinaCalzaghe is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Using Knife CrossOv3r Screenshots and Videos 12 07/12/2013 11:18 AM
Detect if player has Shot someone else (And been Shot)? DarrenReeder Help Archive 9 04/04/2010 05:37 PM
Knife from behind bug Striker_Moe Help Archive 3 18/09/2009 06:10 PM


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.