Raised This Month: $ Target: $400
 0% 

Block secondary knife attack for a certain time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-01-2018 , 14:02   Re: Block secondary knife attack for a certain time
Reply With Quote #1

@Celena Luna, you don't need to check if weapon is an valid entity. If it's not, hook will not be called. Return values it's ignored in post callbacks, so you don't need to return anything.
__________________









Last edited by CrazY.; 07-01-2018 at 14:04.
CrazY. is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-01-2018 , 14:48   Re: Block secondary knife attack for a certain time
Reply With Quote #2

Quote:
Originally Posted by CrazY. View Post
@Celena Luna, you don't need to check if weapon is an valid entity. If it's not, hook will not be called. Return values it's ignored in post callbacks, so you don't need to return anything.
oh yeah, I forgot
__________________
My plugin:
Celena Luna is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 12:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode