Jump to content

Detect a teleport with clientside


Recommended Posts

  • Premium

Hello folks !

I have a little question : How to detect a warp in client ?

For example, I checked something with :

 

       if myfileincludedbefore.something == 0:
            if something = blabla:
                mycodehere
                 myfileincludedbefore.something = 1

 

But when I teleport, as the myfileincludedbefore.something != 0, the code is not used anymore...

So when my client detect a warp, I want him to reset myfileincludedbefore.something to 0, in order to run the code again

Thanks ! Have a nice day :)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.