Skip to content

Instantly share code, notes, and snippets.

View JuniorDjjr's full-sized avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT mode
LVAR_INT car
LVAR_INT ini_explode
LVAR_FLOAT min_size max_size fire_radius
LVAR_INT scplayer
LVAR_INT ihealth p i explode_car subclass delay dropsList
LVAR_INT bulletImpactListSize bulletImpactTemp bulletImpactListValue bulletImpactWeaponType bulletImpactColPoint
// 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
SCRIPT_START
{
LVAR_INT scplayer
LVAR_FLOAT startX startY endX endY x y z resultX resultY f
LVAR_FLOAT step current maxDeviation
LVAR_INT blip blipList i k bPlayerNeverGetsTired iMedal pMedalString pSwimTime bStarted bReached
GET_PLAYER_CHAR 0 (scplayer)
WHILE TRUE
// 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
// 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)
// 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)
// 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
// 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
// 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