villr Posted August 20, 2011 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 Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
triplesnake Posted August 20, 2011 Posted August 20, 2011 where is the comma in 7th line? http://www.blueptp.com/credit.php?pseudo=wedo331
villr Posted August 20, 2011 Author Posted August 20, 2011 did remove it by misstake but it's have been there Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
MTA Team qaisjp Posted August 20, 2011 MTA Team 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.
villr Posted August 20, 2011 Author Posted August 20, 2011 thank you very mutch! Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
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