Teleport to marker
#1

i want to make a command,if its possible:
if a player makes a marker on the map and then writes /tp he gets teleported there...
Reply
#2

is this possible or not? reply pls
Reply
#3

first dont bump

second no it isnt possible but you could make a marker on the map for example hospital

and than if you type /hospital

SetPlayerPos(playerid,float.hospitalx,float.hospit aly,float.hospitalz);

but you cant tele to the marker that the player sets
Reply
#4

k thanks...
Reply
#5

no problem sorry that i couldn't help you
Reply
#6

It IS possible, although the functions that allows it are somewhat bugged ... Sometimes they work, and sometimes they don't.
I've discovered that AllowAdminTeleport doesn't react anymore on gmx (you'll need to reconnect for it to work again).

AllowAdminTeleport(allow);
AllowPlayerTeleport(playerid, allow);
Reply
#7

But he means the red thingy that a player sets himself on the big map
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)