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
info
Grupo: Administrador
Registrado: 08/07/05
Posts: 5.8k
Reputação: +1.4k
Gênero: Outro
TFS 1.1 (Cast System) 10.77
Downloads:
TFS 1.1 (v 10.77) - forgottenserver-master.zip, Repositório
Executável 32 bits - executavelx86.zip , Scan
Executável 64 bits - executavelx64.zip , Scan
Cast System:
Execute query na DB
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.")endreturnfalseendstop_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.")endreturnfalseenddata/talkactions/talkactions.xml
OBS:
Você precisa abrir portas 7173
Créditos:
marksamman - TFS
djarek - Cast System
Bruno Minervino - Atualizações
forgottenserver-master.zip
executavelx64.zip
executavelx86.zip
Editado Setembro 20 por Drazyn