본문으로 건너뛰기

낙하산과 연기 궤적

모든 낙하산 팩 틴트, 캐노피 스타일, 연기 궤적 색상을 인덱스와 RGB 값, 그리고 적용에 필요한 네이티브와 함께 제공합니다.

이 도구와 설명은 아직 영어로만 제공됩니다.

레퍼런스플레이어문서 읽기

Canopy tints

Click to use in the snippet
model override
model override
model override
model override
model override
model override

Snippet builder

Black Chute
Smoke255, 0, 0
parachute.lua
CreateThread(function()
    local player = PlayerId()
    local ped = PlayerPedId()

    GiveWeaponToPed(ped, `gadget_parachute`, 1, false, false)
    SetPlayerHasReserveParachute(player)

    SetPlayerParachuteTintIndex(player, 6) -- Black Chute
    SetPlayerReserveParachuteTintIndex(player, 6) -- Black Chute
    SetPlayerParachutePackTintIndex(player, 6) -- Black Chute

    SetPlayerCanLeaveParachuteSmokeTrail(player, true)
    SetPlayerParachuteSmokeTrailColor(player, 255, 0, 0)
end)

Smoke trail colours

ColourNameRGBLabelDescription
-
No Smoke TrailnoneNo smoke.
Red Smoke Trail
With red smoke canisters.
Orange Smoke Trail
With orange smoke canisters.
Yellow Smoke Trail
With yellow smoke canisters.
Blue Smoke Trail
With blue smoke canisters.
Black Smoke Trail
With black smoke canisters.
-
Crew Smoke Trailcrew colourCustom crew smoke canisters.Uses the crew colour. Pick any RGB.
Patriot Smoke Trail
With patriot smoke canisters. Part of the Independence Day Special.Red, white and blue. One RGB per call, so pick one or cycle them.

Natives

  • Canopy tint of the main parachute.
  • Canopy tint of the reserve parachute.
  • Tint of the backpack the parachute sits in.
  • Swap the canopy model (needed for indices 8 to 13).
  • Same, for the reserve canopy.
  • Turn the smoke trail on or off.
  • Smoke trail colour as RGB 0 to 255.
  • Give the player a reserve chute.

Canopy tints

The default parachute has 8 tints (0 to 7). Indices 8 to 13 are the San Andreas Flight School canopies and only show up after you swap the canopy model with SetPlayerParachuteModelOverride (and the reserve version) to pil_p_para_pilot_sp_s. The snippet builder adds that for you when you pick one of them.

The PM_TINT* and PS_CAN_* values are text labels. Pass them toGetLabelText to get the localised name for a menu.

Smoke trails

Smoke trails are not a tint index. Enable them with SetPlayerCanLeaveParachuteSmokeTrail(player, true)and pick any colour with SetPlayerParachuteSmokeTrailColor(player, r, g, b). The table lists the colours GTA Online uses for its smoke canisters, but you are not limited to them.

local player = PlayerId()
SetPlayerCanLeaveParachuteSmokeTrail(player, true)
SetPlayerParachuteSmokeTrailColor(player, 255, 165, 0) -- orange

Data source

Data: Vespura (tomgrobbe.com / vespura.com). The canopy previews are approximate.