Search the Community
Showing results for tags 'indicator'.
-
How can i make the indicator have a sound of the Indicator when pressing "mouse1" or "mouse2" and the sound Stops when there is no indicator flash --[[ //\\ Script by CarlRayanitch //\\ ]] local left = false local right = false function Blinker_Left() if isPedInVehicle(getLocalPlayer()) == true then if left == false then outputChatBox(" ") left = true local occupiedVehicle = getPedOccupiedVehicle(getLocalPlayer()) local x,y,z = getElementPosition(occupiedVehicle) Blinker_vorne = createMarker(x,y,z,"corona",0.3,238,154,0) Blinker_hinten = createMarker(x,y,z,"corona",0.3,238,154,0) attachElements(Blinker_vorne,occupiedVehicle,-0.8,2.3) attachElements(Blinker_hinten,occupiedVehicle,-0.8,-2.8) blink = setTimer(function() if getElementAlpha(Blinker_vorne) == tonumber(255) and getElementAlpha(Blinker_hinten) == tonumber(255) then setElementAlpha(Blinker_vorne,0) setElementAlpha(Blinker_hinten,0) else setElementAlpha(Blinker_vorne,255) setElementAlpha(Blinker_hinten,255) end end,500,0) else killTimer(blink) destroyElement(Blinker_vorne) destroyElement(Blinker_hinten) left = false end end end bindKey("mouse1","down",Blinker_Left) function Blinker_Right() if isPedInVehicle(getLocalPlayer()) == true then if right == false then outputChatBox(" ") right = true local occupiedVehicle = getPedOccupiedVehicle(getLocalPlayer()) local x,y,z = getElementPosition(occupiedVehicle) Blinker_vorne1 = createMarker(x,y,z,"corona",0.3,238,154,0) Blinker_hinten1 = createMarker(x,y,z,"corona",0.3,238,154,0) attachElements(Blinker_vorne1,occupiedVehicle,0.8,2.3) attachElements(Blinker_hinten1,occupiedVehicle,0.8,-2.8) blink1 = setTimer(function() if getElementAlpha(Blinker_vorne1) == tonumber(255) and getElementAlpha(Blinker_hinten1) == tonumber(255) then setElementAlpha(Blinker_vorne1,0) setElementAlpha(Blinker_hinten1,0) else setElementAlpha(Blinker_vorne1,255) setElementAlpha(Blinker_hinten1,255) end end,500,0) else killTimer(blink1) destroyElement(Blinker_vorne1) destroyElement(Blinker_hinten1) right = false end end end bindKey("mouse2","down",Blinker_Right)
-
- blinkers script
- scripting indicator
- (and 4 more)
-
Hey guys!! I have an idea for a indicator for Voice Chat enabled servers, it would be kinda cool then that way you would be able to find servers that use it a lot easier. Because a lot of the servers I have found with "Voice Chat" or just "Voice" in the name, are another language then English like Brazilian, German, etc. If this got added, it would make MTA a lot more fun to play with friends, or just log on and find friends! Thanks guys! -lexmark66
-
- voice chat
- indicator
-
(and 1 more)
Tagged with:
-
MTA-Indicators This resource allows player to create custom indicators, both static positions and indicators following target element are possible to be created using this. Main features: Well optimized code, thousands of indicators can be created without causing lags on most PC's. OOP codebase. The resource is very customizable, there are function to get/set pretty much every variable. Example video of it in action: Details and download on Github: Github - MTA-Indicators
- 4 replies
-
- 1
-
- indicators
- indicator
-
(and 1 more)
Tagged with:
-
I found it earlier on community, which worked with ' . ' and ' , ' bindkeys, and created a orange color marker right, or left side. Where can i download this?