Distance tracker and teleportation(SOLVED)

now something is really weird
I changed from hud to controller

msg.post("controller", "teleport")

It does get the teleport message BUT

elseif nessage_id == hash("teleport") then
		print(message_id)

it ignores print()

I did all the “tests” to see if it sends the message and if it receives the message and it does
but ignores everything in the elseif cond

1 Like

You compare nessage_id, it should probably be message_id (typo).

3 Likes

rip

EDIT: lol 3 likes

EDIT1: I give up I dont think I can do that tried different ways didnt really added the 10meters :expressionless:

EDIT2: Maybe the teleport added to distance isnt really important because he goes back to his original position? what do you guys think?

3 Likes

please mind your language

3 Likes