villr Posted August 20, 2011 Share Posted August 20, 2011 (edited) hello i got some problems with a teleport i did, i made it in itneriro 1 and dimension 1 but if i enter the teleport in dimension 0 or any other it still teleports me local AWAYInterior1= createMarker (845.54,-1249.89,6.5, "arrow", 1.5,255,255,0) setElementDimension(AWAYInterior1,1) setElementInterior(AWAYInterior1,3) function Leaveint2( hitPlayer, matchingDimension ) setTimer(setElementPosition,1000,1,hitPlayer,372.117,163.04,1025.78) setElementDimension(hitPlayer,0) setElementInterior(hitPlayer,0) fadeCamera(hitPlayer,false,1 ) setTimer(fadeCamera,1000,1,hitPlayer,true,5 ) end addEventHandler( "onMarkerHit",AWAYInterior1,Leaveint2 ) anyone know what i did wrong?? Edited August 20, 2011 by Guest Link to comment
triplesnake Posted August 20, 2011 Share Posted August 20, 2011 where is the comma in 7th line? Link to comment
villr Posted August 20, 2011 Author Share Posted August 20, 2011 did remove it by misstake but it's have been there Link to comment
qaisjp Posted August 20, 2011 Share Posted August 20, 2011 local AWAYInterior1= createMarker (845.54,-1249.89,6.5, "arrow", 1.5,255,255,0) setElementDimension(AWAYInterior1,1) setElementInterior(AWAYInterior1,3) function Leaveint2( hitPlayer, m ) if not m then return end setTimer(setElementPosition,1000,1,hitPlayer,372.117,163.04,1025.78) setElementDimension(hitPlayer,0) setElementInterior(hitPlayer,0) fadeCamera(hitPlayer,false,1 ) setTimer(fadeCamera,1000,1,hitPlayer,true,5 ) end addEventHandler( "onMarkerHit",AWAYInterior1,Leaveint2 ) fixd, no problem. Link to comment
villr Posted August 20, 2011 Author Share Posted August 20, 2011 thank you very mutch! 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