This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCRIPT_START | |
{ | |
LVAR_INT scplayer | |
LVAR_FLOAT x y z | |
GET_PLAYER_CHAR 0 (scplayer) | |
WHILE TRUE | |
WAIT 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus | |
SCRIPT_START | |
{ | |
LVAR_INT scplayer hChar[8] hVeh iCurNumPassengers iMaxPassengers iNumGangMembers i j k iNextTimeToTalk iIdToSay hOtherChar iCfgRandMinTime iCfgRandMaxTime | |
WAIT 0 | |
WAIT 0 | |
IF IS_ON_SAMP | |
TERMINATE_THIS_CUSTOM_SCRIPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Snippet by Junior_Djjr, originally for IMPUNES game. MIT license. | |
// This solution is better than GTA V when selecting diagonal slots on mouse. With only 10 lines of code. | |
// Only for wheel selector based on 8 slots, but you can easily change it. | |
// Mouse only for now | |
cursorPos.x += Input.GetAxis("Mouse X") * Time.unscaledDeltaTime * sensibility; | |
cursorPos.y += Input.GetAxis("Mouse Y") * Time.unscaledDeltaTime * sensibility; | |
float distFromCenter = cursorPos.magnitude; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 hVeh pVeh i iSearchProgress hAudioStream | |
LVAR_FLOAT f fLastBrake fGas fBrake fBrakePressure fIniVolume x y z | |
WAIT 0 | |
WAIT 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 pTempString // In | |
LVAR_INT pFileString iAreaID bSpawnOnMission i lPedList iPed pKeyString pPedSpawn iTotalPeds hChar bLazySpawn bLoadAnim iTestMode lCreatedPedsList bInPanic | |
LVAR_FLOAT f x y z spawnX spawnY spawnZ radius | |
LVAR_TEXT_LABEL16 tAnimIfp tAnim | |
CONST_INT PED_SPAWN_COORD_X 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 hObject pText lModelsList bCreated | |
LVAR_FLOAT x y z originX originY originZ | |
WAIT 0 | |
WAIT 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleo | |
SCRIPT_START | |
{ | |
LVAR_INT iPlayerId //In | |
LVAR_INT scplayer i iWeaponType iLastWeaponType pWeaponInfo bFireButtonOff iSave | |
LVAR_FLOAT fBackupStat69 fBackupStat70 f g | |
WAIT 0 | |
WAIT 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 pPlayer bUsingChainsawLastFrame bGotChainsawLastFrame pWeaponInfo iSlot iChainsawAmmo hObject iModel bFoundObjectLastFrame bFoundObjectNow bShowAmmoOnScreen | |
LVAR_FLOAT fChainsawAmmo x y z | |
GET_PLAYER_CHAR 0 (scplayer) | |
GET_PED_POINTER scplayer (pPlayer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You need: https://forum.mixmods.com.br/f141-gta3script-cleo/t5206-como-criar-scripts-com-cleoplus | |
SCRIPT_START | |
{ | |
LVAR_INT scplayer pPlayer pPlayerData pCurPro pLastPro hLastPro i iProMoney iStartPlayerMoney | |
GET_PLAYER_CHAR 0 (scplayer) | |
GET_PED_POINTER scplayer (pPlayer) | |
READ_STRUCT_OFFSET pPlayer 0x480 4 (pPlayerData) | |