Jump to content

where problem????


w7sH

Recommended Posts

وش المشكلة ؟

bindKey("z", "down",
function (  )
setElementData(getPedOccupiedVehicle(localPlayer),"flash",true)
engineApplyShaderToWorldTexture( myShader, "fls",getPedOccupiedVehicle(localPlayer) )
else
setElementData(getPedOccupiedVehicle(localPlayer),"flash",false)
engineRemoveShaderFromWorldTexture ( myShader, "fls",getPedOccupiedVehicle(localPlayer) )
end

 

Link to comment

ما فهمت وش تقصد بالظبط بس جرب دا

bindKey("z", "down",
function (  )
if (isPedInVehicle(localPlayer)) then
if (getElementData(getPedOccupiedVehicle(localPlayer),'flash') == false) then
setElementData(getPedOccupiedVehicle(localPlayer),"flash",true)
engineApplyShaderToWorldTexture( myShader, "fls",getPedOccupiedVehicle(localPlayer) )
else
setElementData(getPedOccupiedVehicle(localPlayer),"flash",false)
engineRemoveShaderFromWorldTexture ( myShader, "fls",getPedOccupiedVehicle(localPlayer) )
end
end
end
)

 

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...