Hello
is possible to change the color of the flare?
the light emitted by it is white like it to be blue, it is possible?
bindKey("mouse1","down",
function ( )
local vehicle = getPedOccupiedVehicle ( localPlayer )
if ( vehicle ) and ( getElementModel( vehicle ) == 411 ) and ( getElementData(localPlayer,'shot') == false ) then
local x, y, z = getElementPosition( vehicle )
[color=#BF0000] createProjectile(vehicle,19,x,y,z,500)[/color]
setElementData(localPlayer,'shot',true)
setTimer( setElementData, 2000, 1, localPlayer, 'shot', false )
end
end
)
addEventHandler('onClientResourceStart', resourceRoot,
function()
if getElementData(localPlayer,'shot') == true then
setElementData(localPlayer,'shot',false)
end
end
)