Skip to content

Instantly share code, notes, and snippets.

@JamesIde
JamesIde / slices.ts
Created August 20, 2024 23:02
Zustand TypeScript Slices Pattern
// https://zustand.docs.pmnd.rs/guides/typescript#slices-pattern
export interface UserStore {
username: string;
setUsername: (username: string) => void;
}
export interface PreferencesStore {
darkMode: boolean;
}
-novid
-nojoy
+ exec autoexec.cfg
-tickrate 128
// radar
cl_hud_background_alpha "0.5"
cl_hud_bomb_under_radar "1"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "1"
hud_scaling "0.750000"
hud_showtargetid "1"