w7sH Posted August 28, 2018 Share Posted August 28, 2018 وش المشكلة ؟ 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
KillerX Posted August 28, 2018 Share Posted August 28, 2018 ما فهمت وش تقصد بالظبط بس جرب دا 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
w7sH Posted August 28, 2018 Author Share Posted August 28, 2018 (edited) تمام يعطيك العافية.. Edited August 28, 2018 by w7sH Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now