Teleport from marker
#1

How to make a teleport player to a Position when standing on a yellow marker? Help me!
Reply
#2

https://sampwiki.blast.hk/wiki/CreatePickup

https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

https://sampwiki.blast.hk/wiki/SetPlayerPos
Reply
#3

click
Reply
#4

I made a marker like a yellow arrow I want to make it like this.
When player come stay on it, it automatically teleport the player to a interior or a place.
I think it is done like this
If(IsPlayerinPos(playerid, //XYZ position of yellow marker outside building))
SetPlayerPos(Playerid, //XYZ of the interior, I mean xyz of teleporting place )
Reply
#5

Someone please tell me if this is done like this^ or not
Reply
#6

Yes, seems right to me.
Reply
#7

where do i need to give it? under onfliterscriptint or ongamemodeint ?
Reply
#8

https://sampforum.blast.hk/showthread.php?tid=289660
Reply
#9

I don't think you can go wrong with MP2's include it's well written.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)