ok how can i make a quest who disconnect you if you aren't premium_user from one ch ... example : exist 2 ch : 1 for normal players and another only for premium_users , if i am premium_user i can go to that ch ( for example ch 2 ) but if i am not premium user i can't go to that ch ( when log in on that ch appear a message box and disconnect me from that ch ) . Sorry for my english
Screen :
[Only registered and activated users can see links. Click Here To Register...]
ENG : welcome <player name> on vip channel , unfortunately you are not a vip user , good bye ( disconnect )
The quest for activation premium_user :
quest premium_user begin
state start begin
when login with pc.getqf("premium_user")==1 and not npc.is_pc() begin
end
when 70010.use with pc.getqf("premium_user")==0 begin
say_title("PRO-AREA")
say("")
say("Cu acest obiect iti poti activa gradul de")
say("premium user.")
say("Gradul de premium user va ramane permanent.")
say("Tu poti dispune de lucruri noi si folositoare")
say("daca iti activezi premium user.")
say_title("Esti sigur ca vrei sa fi premium user?")
local s = select("Da", "Nu")
if s == 1 then
pc.remove_item(70010, 1)
pc.setqf("premium_user", 1)
else
return
end
end
end
end