View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-11-2024 , 06:40   Re: [CS] CS 1.5 (Retro) Knife
Reply With Quote #3

Please do not use CurWeapon to set weapon models. Use Ham_Item_Deploy.

To make it work with bots, look into RegisterHamFromEntity and provide a bot id, or if you are using amxx 1.9+, there are two easier solutions: set the last argument of RegisterHam called specialbot to true or use RegisterHamPlayer.

There should be no difference for knife maps, a knife is a knife and it is deployed in the same way no matter the map.
__________________

Last edited by HamletEagle; 02-11-2024 at 06:41.
HamletEagle is offline