Instantly share code, notes, and snippets.

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)
View Ped Fear Fix.sc
// Ped Fear Fix 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 scplayer hChar iTaskStatus iMinPedFear iMode iPedType iWantedLevel
LVAR_FLOAT x y z fRadius fFleeRadius
CONST_INT MODE_ONLY_COWARDS 1
CONST_INT MODE_ALL_COWARDS_AND_LESS_OTHERS 2
View Shot Cam Shake (Junior_Djjr.sc
SCRIPT_START
{
LVAR_INT scplayer intensity
GET_PLAYER_CHAR 0 scplayer
IF NOT READ_INT_FROM_INI_FILE "cleo\Shot Cam Shake.ini" "Settings" "Intensity" (intensity)
intensity = 20
ENDIF
View Handbrake Mod (Junior_Djjr).sc
// Handbrake Mod 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 scplayer scplayer2 car driver audiostream_up audiostream_down loaded locked useSec alwaysSecAnim model
LVAR_FLOAT audiostream_vol anim_speed dim_x fdummy minXsize
// Audiostream states
CONST_INT STATE_END -1
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
LVAR_FLOAT posX posY sizX sizY iniPosX iniPosY iniSizX iniSizY
// Sprites const
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 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 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 Change Night Hour (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT new_night_hour original_value
LVAR_INT change_15 change_16 change_17 change_18 change_19 change_20 change_21 change_22
LVAR_FLOAT hour_to_minute_21 hour_to_minute_20
LVAR_INT temp
IF READ_INT_FROM_INI_FILE "CLEO/Change Night Hour (Junior_Djjr).ini" "Settings" "StartNight" new_night_hour
IF NOT new_night_hour >= 0
OR NOT new_night_hour <= 23
View Rain Chance (Junior_Djjr).sc
SCRIPT_START
{
LVAR_INT scplayer
LVAR_INT iChance iCurrentWeatherID iUpcomingWeatherID iDay iLastDay iMonth iLastMonth
GET_PLAYER_CHAR 0 (scplayer)
GET_CURRENT_DATE (iLastDay iLastMonth)
IF READ_INT_FROM_INI_FILE "CLEO/Rain Chance.ini" "Settings" "PercentChance" (iChance)
ELSE