Instance | Branch |
---|
This file contains 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
local function CreateNamedRenderTargetForModel(name, model) | |
local handle = 0 | |
if not IsNamedRendertargetRegistered(name) then | |
RegisterNamedRendertarget(name, 0) | |
end | |
if not IsNamedRendertargetLinked(model) then | |
LinkNamedRendertarget(model) | |
end | |
if IsNamedRendertargetRegistered(name) then | |
handle = GetNamedRendertargetRenderId(name) |
This file contains 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
RequestModel("peyote") | |
RequestModel("a_f_y_vinewood_04") | |
Wait(500) | |
pedVeh = CreateVehicle("peyote", GetEntityCoords(ped), .0) | |
GIRL_PED = CreatePed(4, "a_f_y_vinewood_04", GetEntityCoords(ped), .0) | |
Wait(500) | |
local animBase = "RANDOM@CAR_THEFT_1@MCS_2" | |
RequestAnimDict(animBase) |
This file contains 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
export const HairOverlaysMale = { | |
0: { collection: 'mpbeach_overlays', overlay: 'FM_Hair_Fuzz' }, | |
1: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_001' }, | |
2: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_002' }, | |
3: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_003' }, | |
4: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_004' }, | |
5: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_005' }, | |
6: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_006' }, | |
7: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_007' }, | |
8: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_008' }, |
This file contains 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
AUDIO::PLAY_SOUND_FRONTEND((uParam0[iParam1 /*80*/])->f_6, "Crash", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam0[iParam1 /*80*/])->f_6, "Crash_NPC", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_1", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_2", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_3", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_4", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_7, "Turn", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_7, "Turn_NPC", "DLC_EXEC_ARC_MAC_SOUNDS", true); | |
AUDIO::PLAY_SOUND_FRONTEND(*iParam1, sParam0, sParam7, true); | |
AUDIO::PLAY_SOUND_FRONTEND(*iParam3, "Recharging_Loop", "DLC_AW_Machine_Gun_Ammo_Counter_Sounds", true); |
This file has been truncated, but you can view the full file.
This file contains 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
"1001A": "HALL & OATES" | |
"1001S": "Adult Education" | |
"1004A": "BOB SEGER" | |
"1004S": "Hollywood Nights" | |
"1005A": "BOB SEGER" | |
"1005S": "Night Moves" | |
"1007A": "BT EXPRESS" | |
"1007S": "Do It ('Til You're Satisfied)" | |
"1009A": "RICK JAMES" | |
"1009S": "Give It To Me Baby" |
This file contains 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
function math.clamp(value, minClamp, maxClamp) | |
return math.min(maxClamp, math.max(value, minClamp)) | |
end | |
function DrawSprite3D(textureDict, textureName, x, y, z, width, height, heading, red, green, blue, alpha) | |
x = x + math.sin(math.rad(-heading-90.0)) * (width*0.5) | |
y = y + math.cos(math.rad(-heading-90.0)) * (width*0.5) | |
--z = z -0.5 | |
local offX = math.sin(math.rad(-heading+90)) * width |
OlderNewer