TFS 1.1 (Cast System) 10.77
Downloads:
TFS 1.1 (v 10.77) -
Executável 32 bits - , Scan
Executável 64 bits - , Scan
Cast System:
Execute query na DB
CitarCREATETABLEIFNOTEXISTS`live_casts`(`player_id` int(11)NOTNULL,`cast_name` varchar(255)NOTNULL,`password` boolean NOTNULLDEFAULT false,`description` varchar(255),`spectators` smallint(5)DEFAULT0,UNIQUEKEY`player_id_2`(`player_id`),FOREIGNKEY(`player_id`)REFERENCES`players`(`id`)ONDELETECASCADE) ENGINE=InnoDB;
data/talkactions/scripts adicionar arquivos:
start_cast.lua
function onSay(cid, words, param)local player =Player(cid)if player:startLiveCast(param)thenplayer:sendTextMessage(MESSAGE_INFO_DESCR,"You have started casting your gameplay.")elseplayer:sendCancelMessage("You're already casting your gameplay.")endreturnfalseend
stop_cast.lua
function onSay(cid, words, param)local player =Player(cid)if player:stopLiveCast(param)thenplayer:sendTextMessage(MESSAGE_INFO_DESCR,"You have stopped casting your gameplay.")elseplayer:sendCancelMessage("You're not casting your gameplay.")endreturnfalseend
data/talkactions/talkactions.xml
<talkactionwords="!cast"separator=" "script="start_cast.lua"/><talkactionwords="!stopcast"script="stop_cast.lua"/>
OBS:
Você precisa abrir portas 7173
Créditos:
marksamman - TFS
djarek - Cast System
Bruno Minervino - Atualizações