Thread: [Solved] simplify
View Single Post
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