Skip to content

Instantly share code, notes, and snippets.

View JuniorDjjr's full-sized avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
SCRIPT_START
{
LVAR_INT hFile iModel iModelLastNotExist iModelFirstNotExist i pBuffer bLastIdExists iItemsCount iNewLineEach bInsertCount iNotExistsCounter iTotalNotExists bInsertFinalTotal iStartID iFinalID
READ_INT_FROM_INI_FILE "CLEO\Generate Free IDs List.ini" "Settings" "StartID" (iStartID)
READ_INT_FROM_INI_FILE "CLEO\Generate Free IDs List.ini" "Settings" "FinalID" (iFinalID)
READ_INT_FROM_INI_FILE "CLEO\Generate Free IDs List.ini" "Settings" "NewLineEach" (iNewLineEach)
READ_INT_FROM_INI_FILE "CLEO\Generate Free IDs List.ini" "Settings" "InsertCount" (bInsertCount)
READ_INT_FROM_INI_FILE "CLEO\Generate Free IDs List.ini" "Settings" "InsertFinalTotal" (bInsertFinalTotal)
//You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer hVeh hVehUsing iProgress iAlarm hCop i pVeh iPlayerId
LVAR_FLOAT fLastCollisionIntensity f
GET_PLAYER_CHAR 0 (scplayer)
MAKE_NOP 0x6E1DBC 8 //KeepLightEngineOff from MixSets
// Horror Noises 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 scplayer i iAlpha bLoaded hAudio bRandomVolume bCreateGhost hGhostChar iTimesNear bNearLastTime bOnlyOnCamera iNearLimit iGhostModel
LVAR_FLOAT f fHorrorness x y z randX randY fMaxIntensity fVolume fVolumeMult fTransitionPathDistance fTransitionGroundDistance fMinPathDistance fMaxGroundDistance fRecreateGhostInDistance fLastGhostX fLastGhostY
READ_FLOAT_FROM_INI_FILE "CLEO\Horror Noises.ini" "Settings" "TransitionPathDistance" (fTransitionPathDistance)
READ_FLOAT_FROM_INI_FILE "CLEO\Horror Noises.ini" "Settings" "TransitionGroundDistance" (fTransitionGroundDistance)
READ_FLOAT_FROM_INI_FILE "CLEO\Horror Noises.ini" "Settings" "MinPathDistance" (fMinPathDistance)
// 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 scplayer justPaused showNameNow zoneNameState
LVAR_FLOAT x y z
LVAR_TEXT_LABEL zoneName
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 p i bEnabled keyJoker keyCopy keyPaste keyGround
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 scplayer
READ_INT_FROM_INI_FILE "CLEO\Clipboard Teleport.ini" "Settings" "EnabledByDefault" (bEnabled)
// 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 i pHospitalCoords pHospitalAngles iHospitalCountSize hPickup pX bCreatePickups pPickupsMemory iPickupsCount
LVAR_FLOAT x y z
CONST_INT MODEL_HEALTH 1240
WAIT 1500
##############################
# This may be used for mods, since the game has no internal names for all weapons.
# You may edit the names as you need. If you are creating a CLEO mod, use "STRING_FORMAT tWeaponName "WEAP%i" iWeaponType" to get the GXT name.
# Don't leave space at the end of the name, otherwise it won't work.
# Format: WEAP<WeaponTypeID>
##############################
WEAP0 Unarmed
WEAP1 Brass knuckle
WEAP2 Golf club
WEAP3 Nightstick
// 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 scplayer pBuffer pKeyBuffer i j lDateIcons iIcon hCleoBlip px py bDebugForceEnexAccess bIsDateIcon pRespawnCoords bDebugShowEnexName bDelayForJizzy
LVAR_TEXT_LABEL tSectionName
LVAR_FLOAT x y
WAIT 0
WAIT 0
SCRIPT_START
{
LVAR_INT scplayer i j hChar hVeh pVeh hTrain1 hTrain2 hTask bDone
LVAR_FLOAT f fFrontOffset x y z x2 y2 z2
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 0
// 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