If you has not changed the function name, and you are using script "as is", but you are getting the error, so try this one:
function remove_weapons_init(e)
end
function remove_weapons_main(e)
if g_Entity[e]['plrinzone'] == 1 then
UpdateWeaponStats()
if g_PlayerGunCount > 0 then
RemovePlayerWeapons(e)
end
end
end
hth
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics