From checking the script file, I generated to start it with (!resetctf) command.I configure, but how I can start event, this event dont have globalevent to start or idk... the instructions to start please
<globalevent name="timer" interval="1000" event="script"><![CDATA[
Try to find in the script a command to start or a time to configure, and try the other script. And yes I did and checked it.I try this but doesn't work... I think the script are bad. you test it?
no have other command, and nothing happend... I think I configure all good, but script doesn't work... Can you give instruction?<talkaction words="!resetctf" event="script"><![CDATA[
--[[ Places setting ]]--
BLUE_FLAG = {x=1116,y=1109,z=7} -- Blue flag Place
RED_FLAG = {x=1190,y=1163,z=7} --red flag Place
Tp_Place = {x=1428,y=1080,z=7} -- Place where the event teleport will be created.
Wait_Place = {x=1370, y=1167, z=7} -- Positions Players will be sent when the enter event's teleport
frompos = {x=1366,y=1164,z=7} --start sqm in the waiting room(1 floor)
topos = {x=1379,y=1177,z=7} -- end sqm in the waiting room(1 floor)
Red_Position = {x=1199,y=1169,z=7} -- Red team temple pos
Blue_Position = {x=1128,y=1104,z=7} -- Blue team temple pos
Dude, are you crazy? 1,2,3 aren't parts, They are only the xml's, but I've uploaded it in 3 upload sites.plz help, i don't know how to use these scripts, where do i put them? what do i have to do besides copying the map and change the positions. and do i have to download all the links? part 1,2,3? or are just the same ? plz help :S
Just don't forget to reputate.oooh thank you, that's what i needed
I may delete it from the list, due to the reports I've recieved from ya.But CTF doesn't work lol
<globalevent name="event" interval="0.5" event="script" value="event.lua"/>
function onThink(interval, lastExecution, thinkInterval)
local players = {}
for _, i in pairs(getPlayersOnline()) do
table.insert(players, i)
end
local roznica = os.time() - getGlobalStorageValue(8012)
local odliczanka = 300 - roznica
for k, v in pairs(players) do
if odliczanka >= 1 then
doPlayerSendCancel(v,"Time to start Fire Storm Event: "..odliczanka.."sec.")
elseif odliczanka == 0 then
doPlayerSendCancel(v,"")
end
end
return true
end
setGlobalStorageValue(8012, os.time())
function onSay(cid, words, param)
setGlobalStorageValue(8012, os.time())
doBroadcastMessage('Fire Storm Event will start in ' .. configFire.delayTime .. ' min. You can join to event by say "!event join".', MESSAGE_EVENT_ADVANCE)