Sim, basta remover isso do 2° spoiler.
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

1 hora atrás, brunoo1996 disse:Estou com uma duvida relacionado a minha script de camera!
SCRIPT
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 99284) == 2 then
doPlayerSendCancel(cid, "You have to close your private chat to create a TV channel.")
return true
end
if getPlayerStorageValue(cid, 99284) == 1 then
doPlayerSendCancel(cid, "You are already on air! Currently on channel: "..getPlayerStorageValue(cid, 99285).."")
doPlayerSendChannel(cid, getPlayerChannelId(cid), getPlayerStorageValue(cid, 99285))
return true
end
if not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
return true
end
doPlayerPopupFYI(cid, "Choose a channel name")
end
Ela como podem ver esta so pra VIP usa eu queria deixa pra free pode usa.
Dai estava com duvida se era so tira isto \/ que voltava a fica free de novo pode usa.
if not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
return true
end
Rep+
amigo, eu testei isso e mesmo assim nao da pra funfar simplemente removendo isso, eles "ligam as cam" mas o canal nunca aparesce nas tv
dica 1, o TV system daba pra derruba o servidor com ele, usando alguns bugs os players usaram pra clonagem de pokes donaters do meu servidor
dica 2, o sistema esta bugado, se o player deslogar ou o servidor cair ou sla enquanto tem caras "asistindo" a tv eles irao levar tp pra aonde tava o cara com a tv ativa, no meu server daba pra levar players free na area vip usando essa tv
dica 3, quando os players for asistir algo "eles levam tp aonde ta o cara com a cam" ai eles ficam em stack, stack stack stack 1 acima de outro. ai ira bugar apos ter muitos stacks e voce ira andar "bugado" o player alem a janela "battle" voce ira olhar tds la só q sem hp kkk
dica 4, retire o tv system : / é bugado
info
Grupo: Diretor
Registrado: 12/05/12
Posts: 818
Reputação: +578
Gênero: Masculino
Char no Tibia: [ADM] Night

Se realmente não funciona removendo a parte do isPremium como josegvb disse. Será que não funcionaria colocando isPlayer no lugar do isPremium?
Onuse e uma action, da camera
Certamente existe uma creature script de join no Channel, deve remover a verificação de la tambem
info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel

Resolvido ja obrigado a todos pela ajuda ^^
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

Tópico movido para dúvidas / pedidos resolvidos.
info
Grupo: Visconde
Registrado: 07/02/12
Posts: 427
Reputação: +112

function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 99284) == 2 then
doPlayerSendCancel(cid, "You have to close your private chat to create a TV channel.")
return true
end
if getPlayerStorageValue(cid, 99284) == 1 then
doPlayerSendCancel(cid, "You are already on air! Currently on channel: "..getPlayerStorageValue(cid, 99285).."")
doPlayerSendChannel(cid, getPlayerChannelId(cid), getPlayerStorageValue(cid, 99285))
return true
end
doPlayerPopupFYI(cid, "Choose a channel name")
return true
end
info
Grupo: Artesão
Registrado: 08/10/15
Posts: 103
Reputação: +34

Testar Assim
local config = {
premium = false, -- se precisa ser premium account (true or false)
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 99284) == 2 then
doPlayerSendCancel(cid, "You have to close your private chat to create a TV channel.")
return true
end
if getPlayerStorageValue(cid, 99284) == 1 then
doPlayerSendCancel(cid, "You are already on air! Currently on channel: "..getPlayerStorageValue(cid, 99285).."")
doPlayerSendChannel(cid, getPlayerChannelId(cid), getPlayerStorageValue(cid, 99285))
return true
end
if config.premium and not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to use camera.")
return true
end
doPlayerPopupFYI(cid, "Choose a channel name")
end







info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel
Estou com uma duvida relacionado a minha script de camera!
SCRIPT
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 99284) == 2 then
doPlayerSendCancel(cid, "You have to close your private chat to create a TV channel.")
return true
end
if getPlayerStorageValue(cid, 99284) == 1 then
doPlayerSendCancel(cid, "You are already on air! Currently on channel: "..getPlayerStorageValue(cid, 99285).."")
doPlayerSendChannel(cid, getPlayerChannelId(cid), getPlayerStorageValue(cid, 99285))
return true
end
if not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
return true
end
doPlayerPopupFYI(cid, "Choose a channel name")
end
Ela como podem ver esta so pra VIP usa eu queria deixa pra free pode usa.
Dai estava com duvida se era so tira isto \/ que voltava a fica free de novo pode usa.
if not isPremium(cid) then
doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
return true
end
Rep+