Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View Radar Map Color (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
LVAR_TEXT_LABEL16 reloadCommand
GOSUB ReadIni
WHILE TRUE
WAIT 0
View Planes Inertia (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 hVeh bCharInvalid bPlaneInvalid i
LVAR_FLOAT x y z planeX planeY planeZ
CONST_FLOAT AIR_RESISTENCE 0.04
CONST_FLOAT GRAVITY 0.17
CONST_FLOAT AIR_RESISTENCE_PLANE 0.00003
View Peds Buy Food (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer hChar pChar hObj hLastObject i hTasks iObjectModel bIsVend
LVAR_FLOAT x y z charX charY charZ objX objY objZ offset radius
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 100
View Turret (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 iSeat iSide iVehModel iTotalSeats hChar hVeh iWeaponType iPassenger iKey1 iKey2 iLastModel pModelKey
LVAR_FLOAT f x y z fOffsetX fOffsetY fOffsetZ
GET_PLAYER_CHAR 0 scplayer
IF NOT READ_INT_FROM_INI_FILE "CLEO/Turret (Junior_Djjr).ini" "Settings" "Key1" (iKey1)
View Homeless and Trash Bags (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer hChar pChar hObj hLastObject i hTasks
LVAR_FLOAT x y z charX charY charZ objX objY objZ
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 100
View Military Ferry (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br. If you want to reuse it for another vehicle, keep credits.
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer hVeh playerId iModel
LVAR_FLOAT x y z targetX targetY targetZ
IF NOT READ_INT_FROM_INI_FILE "CLEO/Military Ferry (Junior_Djjr).ini" "Settings" "ModelId" (iModel)
iModel = 454
ENDIF
View Car Dealership (Junior_Djjr).sc
// Car Dealership 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 i scplayer cars[5] bikes[5] p hMenu iItem iLastItem hVeh iPrice hChar bVendorNotValid pExt_SetCarSeed pExt_SetVehicleKMs
LVAR_INT iModel parkedVehId seed color weekDay unit
LVAR_FLOAT x y f oldFactor
WAIT 1000
View Dynamic FOV (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer activeLastTime zoomState
LVAR_FLOAT camX camY camZ pointX pointY pointZ upFactor k newFOV currentFOV detaultFOV lastNewFOV diffNewFOV f
NOP
WHILE TRUE
WAIT 0
View Attach Vehicle (Junior_Djjr).sc
// Attach Vehicle Mod by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
// And also: https://www.mixmods.com.br/2020/03/CLEOPlus.html
SCRIPT_START
{
LVAR_INT scplayer hVeh hVehDest iFoundVeh bAttached p iPlayerId iButton bOnlyIfStopped bNotForEmergencyVehicles bNotForCarsAndBikes iSubclass bPlayerPressing[2] pVeh pVehDest pVehDestHandling
LVAR_FLOAT x y z x1 y1 z1 f
WAIT 500
View Chroma Key.sc
// by Junior_Djjr
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer iModel hObj bCreated
LVAR_FLOAT fScale x y z
GET_PLAYER_CHAR 0 scplayer
IF NOT READ_INT_FROM_INI_FILE "CLEO/Chroma Key.ini" "Settings" "ModelId" (iModel)
You can’t perform that action at this time.