• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Players Online Information v1.0

Zysen

=)
Joined
Sep 18, 2010
Messages
2,270
Reaction score
170
Location
Bosnia & Herzegovina
Hello.This is my third script (working one I hope).It's Players Online Info.

Create a file onlineplayers.lua:

LUA:
function onSay(cid, words, param)
   local string = 'Players Online\n\n'
      getPlayersOnline()
   getCreatureName(pid)
 getPlayerLevel(pid) .. ' level '
   getPlayerVocation(pid) 
doShowTextDialog(cid, itemid, text)
      end
      return TRUE
end


XML:
<talkaction words="!online" script="onlineplayers.lua"/>

I think it's fail! xD

Yours,
Zysen
 
Idk,but It doesn't even matters,always there's some guy that will help me if i'm wrong :)
I'm hosting the servers on my brothers comp in the city :)
 
Last edited:
Anyways man, don't post scripts without testing, that script isn't working, i don't need to test to know it.
 
Back
Top