Server Exports

Available server exports for this resource

StartArmaFx: Id

Allows you to call a specific Fx

Example

AddEventHandler('onResourceStart', function(resourceName)
    StartArmaFx(1) -- Calls meteor, server will handle the falling meteors.
end)

EndArmaFx:

Ends current Fx server-wide event

RegisterCommand('stoparmafx', function(source)
    EndArmaFx()
end)

Nuke: coords, customSpeed

RegisterNetEvent('example:server:CallNuke', function()
    exports['bv-ArmageddonFx']:Nuke(someRandomCoords, 100.0)
end)

Meteor: coords, directional <bool>, customSpeed, specifiedModel

Missile: coords, directional <bool>, customSpeed

Last updated