Estou com uma duvida relacionado a minha script de camera!
SCRIPT
Spoiler
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.
Spoiler
if not isPremium(cid) then doPlayerSendCancel(cid, "Only premium members are allowed to record videos.") return true end
Pergunta
BrunooMaciell 85
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+
Link para o comentário
https://xtibia.com/forum/topic/240644-duvida-script-camera/Compartilhar em outros sites
8 respostass a esta questão
Posts Recomendados