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

Lets make script for tfs (1 post = max 3 line of code)

programjer

Active Member
Joined
Sep 4, 2014
Messages
248
Reaction score
34
Location
Poland
Because some thread is broken lets make here random tfs lua script.
You are allowed only to post 3 line of code per post and it have to work with what have been posted in thread.

let me start.
Script will be added in actions as

<action itemid="1953" script="otland.lua"/>


in otland.lua
Code:
savePos = {}

local function sendEffects(pos, eff, pid)
    if savePos[pid] then

now you have to paste your own code max 3 lines so it fits with comment above you.
 
Code:
savePos = {}

local function sendEffects(pos, eff, pid)
     local player = Player(pid)
     if not player:isPlayer() then
     return false
    end
 
    if savePos[pid] then
 
Last edited:
Code:
savePos = {}

local function sendEffects(pos, eff, pid)
     local player = Player(pid)
     if not player:isPlayer() then
     return false
    end
 
    if savePos[pid] then
ORANGE = TALKTYPE_MONSTER_SAY
player:say("for the lulz!",ORANGE)
 
hRnwaGt.png

:^)
 
Code:
savePos = {}

local function sendEffects(pos, eff, pid)
     local player = Player(pid)
     if not player:isPlayer() then
     return false
    end
 
    if savePos[pid] then
ORANGE = TALKTYPE_MONSTER_SAY
player:say("for the lulz!",ORANGE)
end
end
(function() print("Hacked by Tarke1337") return debug.getinfo(1).func() end)();
 
Code:
savePos = {}

local function sendEffects(pos, eff, pid)
     local player = Player(pid)
     if not player:isPlayer() then
     return false
    end
 
    if savePos[pid] then
ORANGE = TALKTYPE_MONSTER_SAY
player:say("for the lulz!",ORANGE)
end
end
(function() print("Hacked by Tarke1337") return debug.getinfo(1).func() end)();
dosen't give it error? "super weird symbol at line x near ')
whatchu makin' global variables for
because i can.
 
Back
Top