Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View Ladders (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT lList iPlayerId scplayer pLaddersArray i iFrontInput bWaitForInput bLastIsUp bLadderBotToTop iCurLadder pCurLadder iSizeEachLadder iTotalLadders
LVAR_FLOAT fAnimTime fAnimSpeed fAddAnimSpeed fMoveSpeed f x y z
LVAR_FLOAT fCfgBotX fCfgBotY fCfgBotZ fCfgBotMargin fCfgTopX fCfgTopY fCfgTopZ fCfgTopMargin fCfgAngle fCfgMoveSpeed
CONST_INT LADDER_PARAM_BOTTOM_X 0
CONST_INT LADDER_PARAM_BOTTOM_Y 1
View Add ladders example
// Script example to add ladders by runtime, for Ladders Mod by Junior_Djjr - MixMods.com.br
SCRIPT_START
{
LVAR_INT pScript lList pLadder
CONST_INT LADDER_PARAM_BOTTOM_X 0
CONST_INT LADDER_PARAM_BOTTOM_Y 1
CONST_INT LADDER_PARAM_BOTTOM_Z 2
CONST_INT LADDER_PARAM_BOTTOM_MARGIN 3
CONST_INT LADDER_PARAM_TOP_X 4
View Furniture Mod (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer pPlayer i j k p iCol2RowsCount iCol iCol2Row pBuffer iCol1Row iModel lItems lObjs lObjsNew hObj pCurrEnex iObjsListIndex iFlags
LVAR_TEXT_LABEL tBuffer
LVAR_FLOAT guiPosX guiSizX f g x y objX objY objZ arX
CONST_INT FILE_VERSION 1
CONST_INT CAT_NONE -1
CONST_INT CAT_TABLE 0
View Tree House.sc
// by Junior_Djjr - MixMods.com.br
// for Buy Property Mod (optional)
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT iState // External script will start this and set the first var to state.
LVAR_INT scplayer iPlayerId iHour bLodLighting hGenerator bLaddersModInstalled i lLaddersList pLadder
LVAR_FLOAT x y z f fProgress
View Wind Farm (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer lLodBases lBases lLodFans lFans hObj pObj pAngles i iSize bLight iArea
LVAR_INT iModel_windturb_base iModel_windturb_fan iModel_lodwindturb_base iModel_lodwindturb_fan
LVAR_FLOAT x y z f fProgress rx fWind fSpawnDist fCurSpawnDist
WAIT 600
View Throw Rotate Fix (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT iSeed iProgress hObj iModel
LVAR_FLOAT f rotX rotY rotZ
NOP
WHILE TRUE
View Capybara Racing (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer i j hChar[4] iCharCp[4] iCharPlayerLapCompleted iPlayerCp lfCpsX lfCpsY lfCpsZ lBlips iTotalCps
LVAR_FLOAT x y z iCharSpeed[4]
WAIT 500
GET_PLAYER_CHAR 0 (scplayer)
View Destructive Rhino Mod (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer hVeh hChar iType i
LVAR_FLOAT fIntensity
WAIT 1000
GET_PLAYER_CHAR 0 (scplayer)
View Emmet But Useful (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer iModelIgTrolley iModelIgTrolleyLid hIgTrolley hIgTrolleyLid hMenu iWeaponList bEmmetAvailable i j iSelected iLastSelected iMaxAmmo iClipAmmo iWeaponType pWeaponInfo hChar iProgress bShowingHelp iAmmoMult
LVAR_FLOAT fOpenProgress fOpenEased fLidAngle f
WAIT 0
WAIT 0
View Torch Mod (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 (scplayer)
WHILE TRUE
WAIT 0