View Single Post
DON KHAN 1
Senior Member
Join Date: Mar 2019
Location: Pakistan
Old 08-26-2019 , 00:51   Re: VIP weapons models
Reply With Quote #16

Quote:
Originally Posted by DarthMan View Post
3rd

Please use Ham_Item_Deploy or, better, please hook DefaultDeploy using Orpheu and check if models are matching knife ones replace them.
register_event is a bad way to do it considering that now you have such powerful tools.
u are right and there was a one mistake more that i putted
PHP Code:
if(is_user_alive(id) && is_user_connected(id) & get_user_flags(id) & ADMIN_LEVEL_H
but that must be
PHP Code:
if(!is_user_alive(id) || !(get_user_flags(id) & ADMIN_LEVEL_H)) 
2nd : it is better using Weapon Model Replacement By GHW Chronic & can easily turn that plugin with access.
__________________
Facebook
My YouTube
Ro{Y}aL WarLanD CommuniTy
Selling Zombie CSO 4.3 Money System Mod
DON KHAN 1 is offline