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 Radar Map Color (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT i
LVAR_TEXT_LABEL16 reloadCommand
GOSUB ReadIni
WHILE TRUE
WAIT 0
View Car Crash Inertia (Junior_Djjr).sc
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus
SCRIPT_START
{
LVAR_INT bDisable scplayer hVeh pVeh p iSubClass pFrame iModel vPos hEffect bWindowPresent iDamage hPassenger
LVAR_FLOAT fSpeed fMinIntensity fDivStartInertia fInertiaEaseOut x y z x2 y2 z2 f dir_x dir_y dir_z fThrowDamageHealth fGlassDamageBonus fIntensity fImpactDamageHealth fMaxMass
/////////////////////////////////////////////
SCRIPT_NAME CCINERT // to make it better acessible for external use
IF NOT READ_FLOAT_FROM_INI_FILE "CLEO/Car Crash Inertia.ini" "Settings" "MinIntensity" (fMinIntensity)
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 Ped Fear Fix.sc
// Ped Fear Fix 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 k iPlayerId scplayer hChar hVeh p iTaskStatus iMinPedFear iMode iPedType iWantedLevel bFleeFromCarFireEnable bFleeFromChainsaw bFleeFromGuns bOnlyUsing iFindVehProgress iFindCharProgress bShooting bDevastingWeapon
LVAR_FLOAT camx camy camz x y z fRadius fCarFireRadius fFleeRadius fCarFireFleeRadius fChainsawRadius
CONST_INT MODE_ONLY_COWARDS 1
CONST_INT MODE_ALL_COWARDS_AND_LESS_OTHERS 2
CONST_INT MODE_ALL 3
View Weather Forecast (Junior_Djjr).sc
/*
By Junior_Djjr - MixMods.com.br
You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
*/
SCRIPT_START
{
LVAR_INT curWeather nextWeather sprite hour min weather night_start_hour stats iniDrawShadow iniSnow usingMobileHud pPed scplayer
LVAR_FLOAT posX posY sizX sizY iniPosX iniPosY iniSizX iniSizY
// Sprites const
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