Hey, in this post i will show you a code from someone else fixed
))
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#define PLUGIN "No crosshair for zombies"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
new HideWeapon
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("CurWeapon", "CurWeapon", "be", "1!0", "2=29")
HideWeapon = get_user_msgid("HideWeapon")
}
public CurWeapon(id)
{
if(zp_get_user_zombie(id) || zp_get_user_nemesis(id))
{
message_begin(MSG_ONE_UNRELIABLE, HideWeapon, _, id)
write_byte(1<<6)
message_end()
}
}
public zp_user_humanized_post(id,survivor)
{
message_begin(MSG_ONE_UNRELIABLE, HideWeapon, _, id)
write_byte(2<<6)
message_end()
}
This is for the ones who didn't know to fix for they're self.
this will make the zombie gameplaty a little more interesting, it's my opinion