I like much more /raid command, that is on TFS distribution...
Sorry for write in English, I dont know portuguese....
For the ones that dont have /raid command, here it is....
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.")
return true
end
You only need to say /raid name
name is the name of the raid in raids/raids.xml file.....
Kind regards...
Dantarrix