Raised This Month: $ Target: $400
 0% 

Solved simplify


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-14-2022 , 12:33   Re: simplify
Reply With Quote #3

You don't need to check if the player is connected on Ham_Item_Deploy hook.

Code:
public Ham_Knife_Deploy_Post(iEnt) {     new id = get_pdata_cbase(iEnt, m_pPlayer, 4)         if(g_bBot[id] && g_iBotsWithRandomKnives)     {         return     }     refreshKnifeModel(id) }
__________________








CrazY. is offline
 



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 21:22.


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