View Single Post
Vaim
Member
Join Date: Feb 2019
Old 02-16-2019 , 02:57   Re: Variable Ignoring _cl_autowepswich "0"
Reply With Quote #13

Quote:
Originally Posted by CrazY. View Post
Code:
#include <amxmodx> #include <amxmisc> #include <hamsandwich> public plugin_init() {     RegisterHam(Ham_Spawn, "player", "CBasePlayer_Spawn_Post", 1); } public CBasePlayer_Spawn_Post(id) {     if (!is_user_alive(id))         return;     new pActiveItem = get_pdata_cbase ( id, 373 , 5 ) ;     if (pActiveItem != -1)         ExecuteHamB ( Ham_Weapon_RetireWeapon, pActiveItem ) ; }

Thank you very much for your help, your plugin works perfectly on aim_usp, aim_glock, aim_deagle. You helped me a lot
Vaim is offline