Skip to content

Instantly share code, notes, and snippets.

Avatar

Valdir da Costa Júnior JuniorDjjr

View GitHub Profile
View No Dealer Help Text (Junior_Djjr).sc
/*
CLEO script for GTA:SA wrote in GTA3script language (0.2.0)
Description: Removes dealer help box by hacking his external script changing 88FE: opcode ("NOT IS_HELP_MESSAGE_BEING_DISPLAYED")
into 0485: ("IS_PC_VERSION") (also called as "return_true" by modders)
*/
{
NOP
View Compressor (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer bUsingCompressor hCompressorObject iLanguage iKey bInfos iModel
LVAR_FLOAT x y z x2 y2 z2
CONST_INT LANG_PT 1
CONST_INT LANG_EN 2
GET_PLAYER_CHAR 0 scplayer
IF READ_INT_FROM_INI_FILE "cleo\compressor.ini" "Settings" "lang" iLanguage
View MapModMover.cpp
/*
Map Mod Mover
http://www.mixmods.com.br/2017/05/programa-map-mod-mover-mudar-posicao-mapas.html
*/
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <string>
#include <Windows.h>
View Ear Ringing (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer
LVAR_INT hAudiostream bIsAudioPlaying
LVAR_FLOAT fLastExplosion_X fLastExplosion_Y fLastExplosion_Z
LVAR_FLOAT fLast_fLastExplosion_X fLast_fLastExplosion_Y fLast_fLastExplosion_Z
LVAR_FLOAT fPlayer_X fPlayer_Y fPlayer_Z
LVAR_FLOAT fDistance fMinDistance fDivDistance fVolume fNewVolume fTempVolume fSetVolume fIniVolume
LVAR_FLOAT fSfxVolume fRadioVolume fDefaultSfxVolume fDefaultRadioVolume
View Insult (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer
LVAR_INT char n pedtype
GET_PLAYER_CHAR 0 (scplayer)
main_loop:
WAIT 0
View Microphone Talk (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer hPed
LVAR_INT pBASS pBASS_RecordStart pBASS_ChannelGetLevel pBASS_RecordInit pBASS_SetConfig pBASS_RecordFree pBASS_ErrorGetCode
LVAR_INT hRecord
LVAR_INT iLevel
LVAR_INT iResult iTemp bIsFirstTime
LVAR_INT iMinLevel iMouthUpdate bEnabled bDebugMode iLanguage
GET_PLAYER_CHAR 0 (scplayer)
View Oil Leaking (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT mode // In
LVAR_INT car // In
LVAR_INT ini_explode // In
LVAR_FLOAT min_size max_size fire_radius // In
LVAR_INT scplayer
LVAR_INT ihealth p i intensity delay fire create_fire wait_fire fires explode_car subclass
LVAR_FLOAT x y z angle size
View Chainsaw Panic (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer ped pedtype player_group weaponid createdby
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 scplayer
main_loop:
WAIT 1000
View Parkour Mod.sc
// Script by Junior_Djjr - MixMods.com.br
// You need: http://brmodstudio.forumeiros.com/t7085-while-true-return_true-e-return_false-para-gta3script
SCRIPT_START
{
LVAR_INT scplayer enabled showtext seccmd
LVAR_TEXT_LABEL16 animname
GET_PLAYER_CHAR 0 scplayer
View Ped Fire Fix (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
{
NOP
LVAR_INT char fire fires pchar pfire random pedtype
LVAR_FLOAT x y z char_x char_y char_z
IF DOES_CHAR_EXIST char
START_CHAR_FIRE char (fire)
You can’t perform that action at this time.