Skip to content

Instantly share code, notes, and snippets.

@trixnz
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trixnz/2cbd7925ae9e556ca4d4 to your computer and use it in GitHub Desktop.
Save trixnz/2cbd7925ae9e556ca4d4 to your computer and use it in GitHub Desktop.
local effect = Effect.Create(AssetLocation.Game, {
effect_id = 137,
position = Vector3(),
angle = Angle()
})
effect:SetPosition(Vector3())
effect:GetPosition()
effect:SetAngle(Angle())
effect:GetAngle()
effect:Play()
effect:Stop()
effect:IsPlaying()
effect:Remove()
local sound = Sound.Create(AssetLocation.Game, {
bank_id = 31,
sound_id = 12,
position = Vector3(),
angle = Angle()
})
sound:SetPosition(Vector3())
sound:GetPosition()
sound:SetAngle(Angle())
sound:GetAngle()
sound:Play()
sound:Stop()
sound:IsPlaying()
sound:Remove()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment