function marker()
markers1 = createMarker(-3607.1999511719,850.59997558594,55.200000762939, "cylinder", 20, 0, 0, 0,0)
markers2 = createMarker(-3607.1999511719,812.40002441406,42.400001525879, "cylinder", 20, 0, 0, 0,0)
addEventHandler ( "onClientMarkerHit", getRootElement(), main )
end
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), marker )
function main ( thePlayer )
if source == markers1 then
local vehicle = getPedOccupiedVehicle ( thePlayer )
setGameSpeed(0.1)
setGravity (0.005)
createExplosion (-3607,839.09997558594,46.599998474121,2,true,-5.0,false )
createExplosion (-3610,839.09997558594,46.599998474121,2,true,-5.0,false )
createExplosion (-3604,839.09997558594,46.599998474121,2,true,-5.0,false )
end
if source == markers2 then
local vehicle = getPedOccupiedVehicle ( thePlayer )
setGameSpeed(1)
setGravity (0.008)
end
end
createVehicle ( 515,-3610.8999023438,842.5,48.900001525879,18.748168945313,0,0)
createVehicle ( 584,-3604.1000976563,839.29998779297,48,358.857421875,335.48950195313,90)
Replies to Re: Untitled
{"text":"text","html5":"html","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"lua","bash":"sh","erlang":"erlang","go":"golang","c":"c_cpp","cpp":"c_cpp","diff":"diff","latex":"latex","sql":"sql","xml":"xml","0":"text","abap":"abap","actionscript":"actionscript","actionscript3":"actionscript","ada":"ada","apache":"apache_conf","applescript":"applescript","asm":"assembly_x86","autohotkey":"autohotkey","closure":"closure","cobol":"cobol","coffeescript":"coffee","cpp-winapi":"c_cpp","c_loadrunner":"c_cpp","c_mac":"c_cpp","c_winapi":"c_cpp","csharp":"csharp","d":"d","dart":"dart","dot":"dot","eiffel":"eiffel","fortran":"fortran","groovy":"groovy","haskell":"haskell","haxe":"haxe","ini":"ini","io":"io","java":"java","java5":"java","make":"makefile","matlab":"matlab","mysql":"mysql","objc":"objectivec","ocaml":"ocaml","pascal":"pascal","perl":"perl","perl6":"perl","postgresql":"pgsql","powershell":"powershell","prolog":"prolog","properties":"properties","rails":"ruby","rust":"rust","scala":"scala","scheme":"scheme","smarty":"smarty","tcl":"tcl","vala":"vala","vb":"vbscript","verilog":"verilog","vhdl":"vhdl","yaml":"yaml"}