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 Ped Fear Fix.sc
// Ped Fear Fix 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 iPlayerId scplayer hChar hVeh p iTaskStatus iMinPedFear iMode iPedType iWantedLevel bFleeFromCarFireEnable
LVAR_FLOAT camx camy camz x y z fRadius fCarFireRadius fFleeRadius fCarFireFleeRadius
CONST_INT MODE_ONLY_COWARDS 1
CONST_INT MODE_ALL_COWARDS_AND_LESS_OTHERS 2
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 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 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 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 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 Cop Outfit (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 j playerId mode ignoredLastFrame[2] noWantedLastFrame maxWantedBackup playerWithUniform[2] numPlayersUsing dontEnableFor2players maxWantedLevelBeforeEnterInterior
IF NOT READ_INT_FROM_INI_FILE "CLEO/Cop Outfit.ini" "Settings" "Mode" (mode)
OR mode < 1
OR mode > 3
TERMINATE_THIS_CUSTOM_SCRIPT
ENDIF
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
You can’t perform that action at this time.