Marcinek123
Badboy
Hello I need help... i have today bad day... i cannot think...
Please somebody fixt it...
Please somebody fixt it...
HTML:
function onSay(cid, item, words)
local storages ={
storageKruzbb = 3331,
storageDarkcamp = 3332,
storageForest = 3333}
local text = ""
local status1 = ""
local status2 = ""
local status3 = ""
--tmp = getPlayerPosition(cid)
if getPlayerStorageValue(getPlayerPosition(cid), storageKruzbb) == 1 then
status1 = ACTIVE
else
status1 = NOT ACTIVE
end
if getPlayerStorageValue(getPlayerPosition(cid), storageDarkcamp) == 1 then
status2 = ACTIVE
else
status2 = NOT ACTIVE
end
if getPlayerStorageValue(getPlayerPosition(cid), storageForest) == 1 then
status3 = ACTIVE
else
status3 = NOT ACTIVE
end
line1 = "Portal in Kruzbb is" .. status1 .. "\n"
line2 = "Portal in Darkcamp is" .. status2 .. "\n"
line3 = "Portal in Forest is" .. status3 .. "\n"
text = .. line1 .. .. line2 .. .. line3 ..
doShowTextDialog(getPlayerPosition(cid), , text)
return TRUE
end