Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

!online command - need some

$
0
0
hello again :)

I got a !online command to show how many players are online
it look like that:
Lua:
function onSay(cid, words, param, channel)
    if(not checkExhausted(cid, 666, 10)) then
        return false
    end

    local strings, i, position, added, showGamemasters = {""}, 1, 1, false, getBooleanFromString(getConfigValue('displayGamemastersWithOnlineCommand'))
    for _, pid in ipairs(getPlayersOnline()) do
        if(added) then
            if(i > (position * 7)) then...
!online command - need some

Viewing all articles
Browse latest Browse all 32017

Trending Articles