Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View Food Eating Fix (Junior_Djjr).sc
/*
You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
TODO: Add also for hot dogs and vending machines?
*/
SCRIPT_START
{
LVAR_INT scplayer
LVAR_INT hObject ryder
LVAR_INT iModelBurger iModelChicken iModelPizza iModelDonut iModelHotDog
LVAR_FLOAT fProgress
View Screen Overlay.sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT enabled
IF READ_INT_FROM_INI_FILE "CLEO/screen overlay.ini" "Settings" "EnabledByDefault" (enabled)
ELSE
enabled = TRUE
ENDIF
View Revive Friend - Coop.sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer char i j p iHealth medic task secPlayer victim medicPad victimPad medicPlayer
LVAR_FLOAT animTime
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 0
View Revive Friend - Gang.sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer group char members i j p iHealth medic task
LVAR_FLOAT animTime
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 0
View Rules - Sidewalk (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT i scplayer hVeh hChar iPedType iPlayerId
LVAR_FLOAT car_x car_y car_z x y z fDistance fTimeOnSidewalk[2] fSpeed fDecreaseEase[2] fFinalDecreaseValue
NOP
/////////////////////////////////////////////////
View Press to Open Garage (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer iCmd1 iCmd2
LVAR_INT pOpenDistanceSmall pOpenDistanceBig pCloseDistanceSmall pCloseDistanceBig
LVAR_FLOAT fOpenDistanceSmall fOpenDistanceBig fCloseDistanceSmall fCloseDistanceBig
GET_PLAYER_CHAR 0 scplayer
WAIT 600
View Simple Regeneration - Player 2.sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer iPlayerId
LVAR_INT i iCurHealth iLastCurHealth iMaxHealth p iWithDelay iFinalHealth bPatchHud
LVAR_FLOAT f fMaxHealth fCurHealth fCurHealthPercent fFinalHealth fIfLessThan fIncreaseTo fUsingSpeed fRegeHealthPercent fFlashHudHealth
READ_FLOAT_FROM_INI_FILE "CLEO/Simple Regeneration.ini" "Settings" "IfLessThan" (fIfLessThan)
READ_FLOAT_FROM_INI_FILE "CLEO/Simple Regeneration.ini" "Settings" "IncreaseTo" (fIncreaseTo)
READ_FLOAT_FROM_INI_FILE "CLEO/Simple Regeneration.ini" "Settings" "UsingSpeed" (fUsingSpeed)
View Music Bass Light (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer pLib isEdited hVeh bEnabled bReset
LVAR_INT pTMGetLightColorsRGBAStruct pTMSetLightAlphaRGB
LVAR_INT pLogiLedInitWithName pLogiLedSetLighting pLogiLedShutdown i j
LVAR_INT pRGBA r g b a bak_r bak_g bak_b bak_a
LVAR_FLOAT fr fg fb fa
LVAR_FLOAT fBassLevel
View Random Cheats (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT iCheatId bNoSuicide iTimeDelay iFirst iLast
IF NOT READ_INT_FROM_INI_FILE "CLEO/Random Cheats.ini" "Settings" "TimeDelay" (iTimeDelay)
OR NOT READ_INT_FROM_INI_FILE "CLEO/Random Cheats.ini" "Settings" "NoSuicide" (bNoSuicide)
OR NOT READ_INT_FROM_INI_FILE "CLEO/Random Cheats.ini" "Settings" "First" (iFirst)
View Auto Remove Marker (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer hTargetBlip
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 500
IF GET_TARGET_BLIP_COORDS x y z