Jump to content

closed


Gallagher

Recommended Posts

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 
) 

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...