hello, i'm having an bug, i'm removing from hud the money and roundtimer, and for bug fix i'm sending msg chrosshair to 0, but when i'm in awp, my chrosshair are changing, i'm getting lines, and my dot removes..
PHP Code:
public eResetHUD( id ) {
if( !is_user_bot( id ) ) {
message_begin( MSG_ALL, g_msgHideWeapon, _, id );
write_byte( (1<<4 | 1<<5) );
message_end();
if ( !(CS_SET_FIRST_ZOOM <= cs_get_user_zoom(id) <= CS_SET_SECOND_ZOOM) ) {
message_begin( MSG_ALL, g_msgCrosshair, _, id );
write_byte( 0 );
message_end();
}
}
}
i'm tryed cs_get_user_zoom, but it didnt worked, maybe i'm did it wrong.
__________________