Auto follow


Liam

Recommended Posts

5 horas atrás, Al_Walk disse:

Alguém pode me mandar um script de auto follow do otc?

local FOLLOWS = "Nick Do Char" cycleEvent(   function()     local p = g_game.getLocalPlayer()     if g_game.isOnline() then       for i,v in pairs(g_map.getSpectators(p:getPosition(), false)) do         if v:isPlayer() and v:getName() == FOLLOWS then           g_game.cancelFollow()           g_game.follow(v)         end       end     end   end , 1000)
 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...