Eu tenho esse action do pokemon, que é a camera que grava para aparecer na TV.
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 99285) == 2 then
doPlayerSendCancel(cid, "You have to close your private chat to create a TV channel.")
return true
end
if getPlayerStorageValue(cid, 99285) == 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
Eu queria que ele fosse so pra vip usar, ele so usa se for premium, mais eu queria VIP.
Minha VIP que eu uso é essa
http://www.xtibia.com/forum/topic/151189-vip-system-by-mock-100/