Skip to content

Instantly share code, notes, and snippets.

View JuniorDjjr's full-sized avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
// 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
// by Junior_Djjr - MixMods.com.br
SCRIPT_START
{
LVAR_INT scplayer i
// jump game init first frames
WAIT 0
WAIT 0
// wait new game cutscene using CLEO+
// 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 iEntityType iTime hVeh hChar pEntity pPlayer iPlayer pColPoint
LVAR_FLOAT x y z destX destY destZ lastLookPlayerX[2] lastLookPlayerY[2]
WAIT 1000
GET_LABEL_POINTER Colpoint (pColPoint)
// 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 k lCharList
LVAR_FLOAT x y z randX[8] randY[8] randZ[8]
CONST_INT MAX_RATS 3
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-cleo
// For Inventory System
SCRIPT_START
{
LVAR_INT scplayer i pItemName iExternalAction iPrice iGiveItemCounter iPosIndex
LVAR_FLOAT x y z screenX screenY sizeX sizeY charX charY charZ f shopX shopY
//-----------------
// 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 hChar pEntity iWeaponType pColPoint i hObject iModel iNewModel hNewObject hFxSystem lObjects lDamObjects iListSize
LVAR_FLOAT x y z f
GET_PLAYER_CHAR 0 scplayer
SET_SCRIPT_EVENT_BULLET_IMPACT ON OnBulletImpact hChar pEntity iWeaponType pColPoint
// 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 hChar i pX pPlayer iColorMode iOverlayIntensity iOverlayBlackIntensity bOnlyFirstPerson bDisableOnCutscenes
LVAR_FLOAT f x y z camX camY camZ fFirstPersonDetectDist
CONST_INT COLOR_NONE 0
CONST_INT COLOR_BLACK 1
CONST_INT COLOR_GRAY 2
// by Junior_Djjr
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT scplayer hChar pEntity iType iPiece i pUseSprite scplayer2 pScreen1 pScreen2
LVAR_FLOAT fIntensity fCurScreenBlood fMaxOpacity fIncrease fDecrease
IF NOT READ_FLOAT_FROM_INI_FILE "CLEO\Damage Screen Blood.ini" "Settings" "MaxOpacity" (fMaxOpacity)
fMaxOpacity = 255.0
ENDIF
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
// You are allowed to use this script in other mods. Keep credits: Junior_Djjr (MixMods.com.br)
//
// !!! THIS IS AN EDITED VERSION FOR VICE CITY LIGHTHOUSE FOR SA !!!
//
SCRIPT_START
{
LVAR_INT scplayer hObj hObjDummy hSearchLight isBack isSearchlightOn hour min iInterior i j bLightObjectsCreated iCreateLightObjects hList
LVAR_FLOAT x y z basePosX basePosY basePosZ fObjRotZ fStartAngle fMinAngle fMaxAngle fObjSize fLightOffset fLightTargetOffset f
// 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 hBlimp hBlimpLod i iDest bBlimpEnabled iModelId iModelIdLod
LVAR_FLOAT x y z a oldX oldY oldZ oldA destX destY destZ destA fProgress fSpeed f
WAIT 550
GET_MODEL_BY_NAME "animatedblimp" iModelId