function weapon_restrict_init(e) end function weapon_restrict_main(e) for a = 4,10 do if g_Scancode == a then ChangePlayerWeaponID(GetWeaponSlot(1)) end end end