Progenosis
Member
- Joined
- Sep 6, 2011
- Messages
- 131
- Reaction score
- 18
So I've been moving around on raids on my server, I've make a raid work but I don't know how to stop it, let's say, to start another raid.
Ihave running the Rats, raid. I want to stop it and start another raid.
The console error I get is this:
The in-game error I get is this:
Raids.xml
quargross.xml
Talkactions/scripts/raid.xml
Ihave running the Rats, raid. I want to stop it and start another raid.
The console error I get is this:
Code:
[05/11/2014 08:14:38] [Error - TalkAction Interface]
[05/11/2014 08:14:38] data/talkactions/scripts/raid.lua:onSay
[05/11/2014 08:14:38] Description:
[05/11/2014 08:14:38] (luaDoExecuteRaid) Raid with name Quargross does not exists.
[05/11/2014 08:15:14] > Broadcasted message: "DendenicOT Informa: ".
The in-game error I get is this:
Code:
08:23 Could not execute raid. (Raid does not exist or other raid is already running)
Raids.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
<raid name="Quargross" file="quargross.xml" interval2="2" margin="0" reftype="single" ref="no"/>
<raid name="Rats" file="rats.xml" interval2="2" margin="0" reftype="single" ref="no"/>
</raids>
quargross.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raid>
<singlespawn delay="10100" name="Quargross" x="965" y="973" z="7"/>
<singlespawn delay="10200" name="Quargross" x="975" y="967" z="7"/>
<singlespawn delay="10300" name="Quargross" x="958" y="973" z="7"/>
<singlespawn delay="10200" name="Quargross" x="975" y="977" z="7"/>
</raid>
Talkactions/scripts/raid.xml
Code:
function onSay(cid, words, param, channel)
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return true
end
if(not executeRaid(param)) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Could not execute raid. (Raid does not exist or other raid is already running)")
return true
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Raid started.")
BroadcastMessage('Invasion!!!! El peligro acecha a una de las ciudades, se un heroe y defiende!.', MESSAGE_STATUS_WARNING)
return true
end