Blouc Posted November 22, 2013 Share Posted November 22, 2013 Baixei esse resource: https://community.multitheftauto.com/ind ... ls&id=3405 porém o próprio criador dele falou que o resource estava com problema. Baixei e tentei resolver o problema mais não consegui. Ele sempre da esse erro: Se bugar: http://i.imgur.com/Q0znjyJ.png Alguém pode me ajudar, por favor estou precisando muito de um resource como esse! Link to comment
[M]ister Posted November 23, 2013 Share Posted November 23, 2013 Adicione ) na última linha Link to comment
Blouc Posted November 23, 2013 Author Share Posted November 23, 2013 Adicione ) na última linha Não aconteceu nada, o erro ainda continua =/ Link to comment
[M]ister Posted November 23, 2013 Share Posted November 23, 2013 addEventHandler ("onPlayerWasted",getRootElement(), function(totalammo,killer,killwerweapon,bodypart,stealth) local x,y,z = getElementPosition (source) local sf = getDistanceBetweenPoints3D (x,y,z,-2655.1,639.46,14.454) local lv = getDistanceBetweenPoints3D (x,y,z,1607.2,1816.2,10.9) local ls = getDistanceBetweenPoints3D (x,y,z,2035.99,-1403.7,17.2) if (sf < ls) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,-2655.1,639.46,14.454,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,2035.99,-1403.7,17.2,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end if (lv < ls) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,1607.2,1816.2,10.8,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,2035.99,-1403.7,17.2,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end if (sf < lv) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,-2655.1,639.46,14.454,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,1607.2,1816.2,10.8,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end end ) Link to comment
Blouc Posted November 23, 2013 Author Share Posted November 23, 2013 addEventHandler ("onPlayerWasted",getRootElement(), function(totalammo,killer,killwerweapon,bodypart,stealth) local x,y,z = getElementPosition (source) local sf = getDistanceBetweenPoints3D (x,y,z,-2655.1,639.46,14.454) local lv = getDistanceBetweenPoints3D (x,y,z,1607.2,1816.2,10.9) local ls = getDistanceBetweenPoints3D (x,y,z,2035.99,-1403.7,17.2) if (sf < ls) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,-2655.1,639.46,14.454,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,2035.99,-1403.7,17.2,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end if (lv < ls) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,1607.2,1816.2,10.8,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,2035.99,-1403.7,17.2,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end if (sf < lv) then setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,-2655.1,639.46,14.454,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) else setTimer (fadeCamera,1000,1,source,false,2.5) setTimer (spawnPlayer,3500,1,source,1607.2,1816.2,10.8,0,getElementModel (source),0,0,nil) setTimer (fadeCamera,4000,1,source,true,1.0) end end ) Opa vlw cara! Consegui, vlw mesmo 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