- function marker()
- markers1 = createMarker(-3607.1999511719,871.59997558594,55.200000762939, "checkpoint", 20, 0, 0, 0, 255)
- addEventHandler ( "onClientMarkerHit", getRootElement(), maifunctions )
- addEventHandler ( "onClientMarkerLeave", getRootElement(), maifunctions2 )
- end
- addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), marker )
- function mainfunctions ( thePlayer )
- if source == markers1 then
- local vehicle = getPedOccupiedVehicle ( thePlayer )
- setGameSpeed(tonumber(0.1))
- setGravity ( tonumber(0.005))
- createExplosion (-3607,839.09997558594,46.599998474121,true,-1.0,false )
- end
- function mainfunctions2 ( thePlayer )
- local vehicle = getPedOccupiedVehicle ( thePlayer )
- setGameSpeed(tonumber(1))
- setGravity ( tonumber(0.008))
- end
- end
Re: Untitled
From Red Owl, 11 Years ago, written in Plain Text, viewed 1'071 times.
This paste will go to its last resting place in 1 Second. This paste is a reply to Untitled from Sweet Teal
- view diff
URL https://paste.godclan.hu/view/LVnkK_jH
Embed
Download Paste or View Raw
— Expand Paste to full width of browser