• 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!

Ctrl + V

Status
Not open for further replies.
function onSay(cid,words,param)
local players = getOnlinePlayers()
local strings = {}
local curStr = 1
local nrGMs = 0
dofile("./config.lua")
for i,player in ipairs(players) do
if i > curStr * 7 then
curStr = curStr + 1
end
if strings[curStr] == nil then
strings[curStr] = ""
breakline = ""
elseif strings[curStr] ~= "" then
breakline = ", "
end
if displayGamemastersWithOnlineCommand == "no" then
if getPlayerAccess(getPlayerByName(player)) == 0 or getPlayerAccess(cid) == 1 then
strings[curStr] = strings[curStr] .. breakline .. player .. " [" .. getPlayerLevel(getPlayerByName(player)) .. "]"
else
nrGMs = nrGMs + 1
end
else
strings[curStr] = strings[curStr] .. breakline .. player .. " [" .. getPlayerLevel(getPlayerByName(player)) .. "]"
end
end
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE, #players - nrGMs .. " player(s) online:")
for i,string in ipairs(strings) do
if string ~= "" then
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,string .. ".")
end
end
end


The !online script in tfs :p
 
(The message you have entered is too short. Please lengthen your message to at least 10 characters.)
 
http://www.pokeplushies.com/images/adoptables/123753.gif[/img][br][url=http://www.pokeplushies.com/adoptables.php?act=rarecandy&id=123753
 
id, name, group_id, account_id, level, vocation, health, healthmax, experience, lookbody, lookfeet, lookhead, looklegs, looktype, lookaddons, maglevel, mana, manamax, manaspent, soul, town_id, posx, posy, posz, conditions, cap, sex, lastlogin, lastip, save, redskull, redskulltime, rank_id, guildnick, lastlogout, blessings, direction, loss_experience, loss_mana, loss_skills, premend, online

xD
 
UPL MyMiniCity Tool by Kornholijo
Fetching data from 2min cache...
Stats:
Ranking => 27
Population => 477
Income => 106300 euro
---
Unemployment => 2%
Transport => 97%
Criminality => 4%
Pollution => 0%
---
Ind => 139
Tra => 73
Sec => 40
Env => 0
Com => 0
 
[x] weeded.net
[ ] damning.net
[ ] boarded.org
[ ] curfe.com
[ ] curfe.net
[x] widening.net
[x] freegfx.org

check list for the web pages I am working on creating.... :p
 
<div style="position: absolute; left: 610px; top: 80px; height: 400px; width: 100px; padding: 1em;"> </div>
 
function removeContainerItemsWithCharges(uid, itemid, charges)

o_O

\o\

no remember copied this ;p
 
Code:
keywordHandler:addKeyword({'heal'},     healCreature, {maxheal = 200})
keywordHandler:addKeyword({'help'},     healCreature, {maxheal = 200})

keywordHandler:addKeyword({'yes'}, confirmAction, nil)
keywordHandler:addKeyword({'no'}, confirmAction, nil)

npcHandler:addModule(FocusModule:new())

Fixing some npcs :p
 
Status
Not open for further replies.
Back
Top