Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View Race Creator (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 pFilename //In
LVAR_INT i scplayer pBuffer hFind pBufferPath hMenu hVeh bAllowRaceMode pBufferRecordPath
LVAR_FLOAT enterX enterY enterZ x y width height
IF NOT pFilename = 0
GOTO RaceScript
View Trunk Store Weapons (Junior_Djjr).sc
// by Junior_Djjr - MixMods.com.br
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleo
SCRIPT_START
{
LVAR_INT playerId pOtherScript hVeh // preserve order
LVAR_INT scplayer i j k iWeaponType iAmmo pVeh iVehSearchProgress bResult iSelectedSlot lListWeapon lListAmmo iListSize pWeaponInfo pBuffer
LVAR_INT hOnCarDeleteVeh lOnCarDeleteVehList bShowTrunkButton iDoorId
LVAR_FLOAT f x y z x2 y2 sizeX sizeY fProgress fDrawX
WAIT 900
View Boat Radar (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 hPlayerVeh lfBlipsCacheX lfBlipsCacheY lBlips iProgress hVeh iModel iTotal iCount hBlip iAlpha pDotTexture iPlayerId iOnMenuListSize iR iG iB
LVAR_FLOAT x y f fEaseProgress fMinSize fA
IF READ_INT_FROM_INI_FILE "CLEO\Boat Radar.ini" "Settings" "R" (iR)
AND READ_INT_FROM_INI_FILE "CLEO\Boat Radar.ini" "Settings" "G" (iG)
AND READ_INT_FROM_INI_FILE "CLEO\Boat Radar.ini" "Settings" "B" (iB)
View Melee Hit Sound (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 pTask i iLastMove j iCurrentMove bHit pColPoint pEntity pPos iSurfaceA iSurfaceB pNormal pPlayer iWeaponType pGetWeaponHighestParentType iMetalMeleeSurface iWoodMeleeSurface
LVAR_FLOAT x y z x2 y2 z2
CONST_INT TIME_TO_PLAY 320 // TODO: use combo hit value
GET_PLAYER_CHAR 0 scplayer
View Club Front Noise.sc
// by Neon & Junior_Djjr
// you need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer isSAxVCxLC
GET_PLAYER_CHAR 0 scplayer
WAIT 1000
IF READ_INT_FROM_INI_FILE "CLEO\Club Front Noise.ini" "Settings" "UseIfSAxVCxLCConnected" (isSAxVCxLC)
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]