Search the Community
Showing results for tags 'addeventhandler'.
-
addEventHandler + group elements I noticed that some people like to add 10000000000000000 addEventHandlers for each element, while you probably only need 1 addEventHandler. Using ONE addEventHandler on a group of elements? A...
- 10 replies
-
- 22
-
-
-
-
-
Alguém consegue me responder pq a function finish n é chamada? function markerb1() if CurrentMarker >= 2 then destroyElement(marker) destroyElement(blip) end if CurrentMarker == 2 then --42 = ultima outputChatBox("Você terminou, entre na auto-escola para ve...
-
Alguem Pode Me Ajudar ? function AirNewQuit (source) if (veh[source]) and isElement(veh[source]) then setElementVisibleTo ( AirNew77744, source, false ) destroyElement (veh[source]) outputChatBox ("#ffffff[ #FFA136Trabalho #ffffff] - #FFFFFFVoce Saiu Do Veiculo E Perdeu...
- 2 replies
-
- addeventhandler
- staff
-
(and 3 more)
Tagged with:
-
Hey i make this script when you have low fuel to start a sound alarm but i don't know how to make to check this when you are in helicopter : function helicopter () if ( isPedInVehicle ( localPlayer ) == false ) then return false end ---------------------------Parts----------------------- loc...
- 13 replies
-
- timer
- addeventhandler
-
(and 1 more)
Tagged with:
-
The text appears succesfully but i cant make it disappear:/ Pls help! [lua] function fadeDX() startTick = getTickCount() addEventHandler("onClientRender",root,text) end function text() local currentTick = getTickCount() local progress = (currentTick-startTick)/dura...
- 4 replies
-
- gettickcount
- onclientrender
-
(and 2 more)
Tagged with: