Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check players on screen
#2
try this, i can't test it because i dont have any tibia client/character/ots to try it on.
(used minus key for this)
Code:
Tibia.KeyDown(:K_SUBTRACT)==1
plos:=Creatures.PlayersOnScreen()

!plos==1 [single]
Self.Say(There is one player on the screen)
exit()
{single}
Self.Say(There are !plos players on the screen)
exit()

set it to auto ~100-200 and try not to press key for too long Tongue
otherwise, add cooldown
Reply


Messages In This Thread
check players on screen - by micheel15 - 04-15-2019, 08:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)