Skip to content

Instantly share code, notes, and snippets.

View SandeMC's full-sized avatar
👽

GillianMC SandeMC

👽
View GitHub Profile
@SandeMC
SandeMC / Reload Mod Fixed.sc
Last active December 5, 2024 10:12 — forked from JuniorDjjr/Reload Mod (Junior_Djjr).sc
Fixed Reload Mod by Junior_Djjr, details in comments
// Originally made by Junior_Djjr - https://www.mixmods.com.br/2019/07/reload-mod.html
// Fixed by GillianMC - https://gist.github.com/SandeMC/4c6d52a05f71af24702eaa28f6b692cf
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer playerId pPed i j iCmds[2] pLib bDontReloadIfFull bDisableWeaponsWithoutAnim bRealisticReload bDisabledOnSAMP bKeepNoAmmo bDisableScrollReload bDisableVehicleAutoReload iCurWeapon iSkill iMaxAmmo iCurAmmo pWeapon pWeaponInfo iState iTimeInMilliseconds iReloadTime iLastCurAmmo iTotalAmmo
IF NOT READ_INT_FROM_INI_FILE "CLEO/Reload Mod.ini" "Controls" "CMD_Player1" (iCmds[0])
OR NOT READ_INT_FROM_INI_FILE "CLEO/Reload Mod.ini" "Controls" "CMD_Player2" (iCmds[1])
@SandeMC
SandeMC / quick.css
Last active November 13, 2025 00:34
My own Quick CSS settings for every horrible design decision Discord does
:root {
/* Changes the font in codeblocks to the one used in Visual Studio Code because I like that better */
--font-code: "Consolas";
}
/* Hides the sticker button on the message bar */
div[aria-label*="gift"] {
display: none;
}
@SandeMC
SandeMC / uosc.conf
Created October 17, 2025 16:29
My uosc config, example attached in comments
# Display style of current position. available: line, bar
timeline_style=bar
# Line display style config
timeline_line_width=2
# Timeline size when fully expanded, in pixels, 0 to disable
timeline_size=10
# Comma separated states when element should always be fully visible.
# Available: paused, audio, image, video, idle, windowed, fullscreen
timeline_persistency=paused
# Top border of background color to help visually separate timeline from video
@SandeMC
SandeMC / mpv.conf
Last active October 17, 2025 18:44
My mpv config, mostly personal
## if using, make sure all shaders are available - the names are based on the ones uosc comes with
###### Performance
profile=high-quality
hwdec=auto-copy
vo=gpu-next
fbo-format=auto
gpu-api=d3d11 # vulkan on linux
vd-lavc-dr=yes
hwdec-codecs=all
d3d11-adapter=