• I need help with crosshair changing
    1 replies, posted
If player switch weapon to weapon from one of table, then run concommand local shotgun = { "weapon_plasmacutter_bread", "weapon_doom3_shotgun", "weapon_crossfire44", "tfa_doom_ssg", "tfa_kf2_eviscerator", "weapon_q4_shotgun", "weapon_q4_shotgun_clip", "weapon_q4_nailgun", "tfa_ravager" } function player_crosshair_changing( ) if shotgun[GM:PlayerSwitchWeapon( player, oldWeapon, newWeapon )] then ply:ConCommand("set_crosshair quater_circle") end end
PlayerSwitchWeapon returns a Boolean You need to call player_crosshair_changing Any player will be able to change their crosshair at any time
Sorry, you need to Log In to post a reply to this thread.