Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEventHandler("onClientPreRender", getRootElement(), function()
- for index, object in pairs(getElementsByType("object", getRootElement(), true)) do
- -- FLIMMERVULKANE
- if(flimmer_vulkan[object] == true) then
- local x, y, z = getElementPosition(object)
- z = z+0.8
- fxAddSparks(x, y, z, 0, 0, 5, 2, 5, 0, 0, 0, false, 1, 5) -- THIS
- if(getElementData(object, "flimmervulkan:last") == true) then
- fxAddSparks(x, y, z, 0, 0, 5, 2, 5, 0, 0, 0, false, 1, 5) -- AND THIS
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement