Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View SAxVCxLC - Fast travel.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 iNewLocal pString
LVAR_FLOAT x y z a x2 y2 sizeX sizeY
CONST_INT LOCAL_LS 0
CONST_INT LOCAL_SF 1
CONST_INT LOCAL_LV 2
View Rotating Ferris Wheel (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 hWheel hLights hBase hCars[18] hWheelLOD hLightsLOD
LVAR_FLOAT f fAngle fAngleProgress fAngleCarStep y z
CONST_FLOAT WHEEL_DRAW_DISTANCE 1000.0
View Hit Health (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 i j hCarDamaged hCharDamaged pEntityDamager iType iPiece hCharDamager
LVAR_FLOAT fAmountPed fAmountVeh fIntensity f
IF LOAD_DYNAMIC_LIBRARY "CLEO+.cleo" (i)
IF GET_DYNAMIC_LIBRARY_PROCEDURE "GetCleoPlusVersion" i (j)
CALL_FUNCTION_RETURN j 0 0 ()(j)
View Give Money to Beggars (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer hChar i j iMoney hTaskBeggar hTaskPlayer pChar bFail
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 0
View Tools Shop (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 hMenu iItem iWeaponTypes[12] iWeaponCosts[12] hVendor iLocal
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 scplayer
READ_INT_FROM_INI_FILE "CLEO\Tools Shop.ini" "Items" "ID1" iWeaponTypes[0]
View Graffiti Anywhere (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 playerId i j scplayer iModel hObject pObject pMatrix pColPoint pQuat bValidToSpray iTimeToFinish iSpraying hProcessObject iAlpha bNotSprayingLastFrame pAPI pSetObjectAlpha iLayer iSelected iFlags iTotalModels
LVAR_FLOAT x y z x2 y2 z2 f g fTotalArea
CONST_INT MIN_ALPHA 60
CONST_FLOAT HUD_ICON_SIZE 20.0
View CJ Plays Guitar (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 i j scplayer hGuitar hCase hCaseObject bPlaying bWalking bWithCase iState hSong iSongId iTotalSongs hSpeakerObject hChar iFindProgress
LVAR_FLOAT f x y z fRandX fRandY fOriginX fOriginY fOriginZ fCaseX fCaseY fCaseZ fSpeakerX fSpeakerY fSpeakerZ
CONST_INT GUITAR_MODEL 14696
CONST_INT CASE_MODEL 14697
CONST_INT SPEAKER_MODEL 1840
View Rules (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT i j scplayer hVeh hChar iPlayerId bRulesFlags
LVAR_FLOAT f car_x car_y car_z x y z fDistance fTimeOnSidewalk[2] fSpeed fDecreaseEase[2] fFinalDecreaseValue fCarHighSpeedLimit fCarInSidewalkTimeLimit
CONST_INT FLAG_CAR_HIGH_SPEED 0
CONST_INT FLAG_CAR_IN_SIDEWALK 1
IF READ_INT_FROM_INI_FILE "CLEO/Rules.ini" "CarHighSpeed" "Enabled" (i)
View Vehicle Shared Wheels (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer i j k iSeed iRandomLevel hVeh iType iWheelSet iSlot iTotalSlots pLabel iModel iVehModel bIsOffCity bUseFinalRandom bThisVehicleHasPartsInitialized iClass iFindProgress bOnRace
LVAR_INT iFullTuningFinalPercent iLevels[5] bDisableNitro
/*
*
*
* ATTENTION:
View LS City Hall (Junior_Djjr).sc
// By Junior_Djjr - MixMods.com.br
// You can edit it to your map mods, just keep clear credits to me.
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT scplayer hChair i bCampModInstalled
LVAR_TEXT_LABEL16 tl
WAIT 1000