SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/02/2018, 09:18 PM   #31
Astralis
Guest
 
Posts: n/a
Default Re: Knife Shot

Really interesting to see this!
  Reply With Quote
Old 11/10/2019, 02:00 PM   #32
AbyssMorgan
High-roller
 
AbyssMorgan's Avatar
 
Join Date: Apr 2015
Location: Poland
Posts: 1,212
Reputation: 351
Default Re: Knife Shot

Update v2.7.0:

- Changed default value for Knife::ToggleForAll(bool:toggle); as false

- Knife shot is disabled on player connect, config is reset to default

- Renamed functions:
PHP Code:
ToggleUseTeamKnifeShoot -> Knife::ToggleUseTeam
IsToggleUseTeamKnifeShoot 
-> Knife::IsToggleUseTeam
ToggleKnifeShootForAll 
-> Knife::ToggleForAll
IsToggleKnifeShootForAll 
-> Knife::IsToggleForAll
ToggleKnifeShootForPlayer 
-> Knife::ToggleForPlayer
IsToggleKnifeShootForPlayer 
-> Knife::IsToggleForPlayer
GetKnifeShootDamage 
-> Knife::GetDamage
SetKnifeShootDamage 
-> Knife::SetDamage
GetKnifeShootSpeed 
-> Knife::GetSpeed
SetKnifeShootSpeed 
-> Knife::SetSpeed
GetKnifeShootRange 
-> Knife::GetRange
SetKnifeShootRange 
-> Knife::SetRange
GetKnifeShootAmmo 
-> Knife::GetAmmo
SetKnifeShootAmmo 
-> Knife::SetAmmo 
- Added functions:
PHP Code:
Knife::TogglePoisoning(playerid,bool:toggle);
Knife::IsTogglePoisoning(playerid);
Knife::GetPoisoningTime(playerid);
Knife::SetPoisoningTime(playerid,seconds);
Knife::GetPoisoningDamage(playerid);
Knife::SetPoisoningDamage(playerid,Float:damage); 
- Added definitions:
PHP Code:
KNIFE_DOT_POISONING
KNIFE_POISONING_TIME

WEAPON_KNIFE_THROWN
WEAPON_KNIFE_POISONING 
Video:
https://www.youtube.com/watch?v=PSfgKwm3Mc8
AbyssMorgan is offline   Reply With Quote
Old 11/10/2019, 02:18 PM   #33
IzadorO
Big Clucker
 
IzadorO's Avatar
 
Join Date: Feb 2015
Location: Scotland, Glasgow
Posts: 162
Reputation: 11
Default Re: Knife Shot

Going to try this out today, it seems very nice! I can see it having use on a lot of server types. Well done again.
IzadorO 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
Detect if player has Shot someone else (And been Shot)? DarrenReeder Help Archive 9 04/04/2010 06:37 PM
Knife from behind bug Striker_Moe Help Archive 3 18/09/2009 07:10 PM


All times are GMT. The time now is 10:47 PM.


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