DarkLink Posted June 27, 2011 Share Posted June 27, 2011 Okay guys, I am trying to teleport a player to a building (LVPD HQ in my case) but when my players gets teleported, I see the building but cant see the floor.. and then the players starts fallin.. like no end How can this be fixed?? THANKS! EDIT: its seems that I have this problem inside the cell of LVPD HQ, when I teleported to inside the cell.. the players falls, its like there is no floor on the cell.. I tryed to put there some object to simulate a floor.. but still falls.. WHY ? :C does someone knows what can I do ? Link to comment
[DemoN] Posted June 28, 2011 Share Posted June 28, 2011 I have same problem but I don't fall, just I can't see the floor and dunno how to fix it. Be sure teleporting the player to interior (not coordinates). Maybe it can help you... Link to comment
DarkLink Posted June 28, 2011 Author Share Posted June 28, 2011 I have same problem but I don't fall, just I can't see the floor and dunno how to fix it. Be sure teleporting the player to interior (not coordinates). Maybe it can help you... I am using setElementInterior, using ID 3 of interior, and then the coords inside the cell .. but no floor and keeps falling But if I teleport to a coord outside of the cell works.. how can this be fixed ? Link to comment
Kenix Posted June 28, 2011 Share Posted June 28, 2011 You can use : setPedFrozen on teleporting and in seconds unfreeze player. Link to comment
Wojak Posted June 28, 2011 Share Posted June 28, 2011 i've checked this interior using my teleporteditor script, and there is no problem with geting in and out (there is a floor) my script sets player position clientside, than trigger the server event to change the interior (i also set a diferent dimention using my resource settings) anyway, if you want to hardcode youre teleports in a script, set the destynation z position higher, it may help Link to comment
DarkLink Posted June 28, 2011 Author Share Posted June 28, 2011 i've checked this interior using my teleporteditor script, and there is no problem with geting in and out (there is a floor)my script sets player position clientside, than trigger the server event to change the interior (i also set a diferent dimention using my resource settings) anyway, if you want to hardcode youre teleports in a script, set the destynation z position higher, it may help thanks for ur help bro. but why are u doing teleports setting player position clientside ? I use server side for all of my teleport markers. thanks! 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