GetEffectSpeed
Jump to navigation
Jump to search
Syntax
float getEffectSpeed(effect)
Required Arguments
- effect: The name of the effect.
Example
Click to collapse [-]
Client[Lua] addCommandHandler("ges", function (cmd) local x, y, z = getElementPosition (localPlayer) local effect = createEffect ("explosion_crate", x, y, z) getEffectSpeed (effect) -- The default get 1.0 end)