urielisordia
New Member
- Joined
- Feb 19, 2010
- Messages
- 10
- Reaction score
- 2
Downloads:
TFS 1.1 (v 10.77) - Download | Projeto
Executável 32 bits - Download | Scan
Executável 64 bits - Download | Scan
Cast System:
Execute query in DB:
SQL:
CREATE TABLE IF NOT EXISTS `live_casts` (`player_id` int(11) NOT NULL, `cast_name` varchar(255) NOT NULL, `password` boolean NOT NULL DEFAULT false, `description` varchar(255), `spectators` smallint(5) DEFAULT 0, UNIQUE KEY `player_id_2` (`player_id`), FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE) ENGINE=InnoDB;
Add files in data/talkactions/scripts:
start_cast.lua
Lua:
function onSay(cid, words, param)
local player = Player(cid)
if player:startLiveCast(param) then
player:sendTextMessage(MESSAGE_INFO_DESCR,"You have started casting your gameplay.")
else
player:sendCancelMessage("You're already casting your gameplay.")
end
return false
end
stop_cast.lua
Lua:
function onSay(cid, words, param)
local player = Player(cid)
if player:stopLiveCast(param) then
player:sendTextMessage(MESSAGE_INFO_DESCR,"You have stopped casting your gameplay.")
else
player:sendCancelMessage("You're not casting your gameplay.")
end
return false
end
data/talkactions/talkactions.xml
XML:
<talkactionwords="!cast"separator=" "script="start_cast.lua"/><talkactionwords="!stopcast"script="stop_cast.lua"/>
Adv:
You need to open port 7173
Créditos:
marksamman - TFS
djarek - Cast System
Bruno Minervino - Atualizações
Attachments
-
executavelx64.zip2.2 MB · Views: 34 · VirusTotal
-
executavelx86.zip1.9 MB · Views: 9 · VirusTotal
Last edited by a moderator: