mrsanty Posted March 4, 2017 Report Share Posted March 4, 2017 hola me podrían decir donde puede estar el error en esta quest quest gmoline beginstate start beginwhen login with pc.is_gm() beginlocal chat = {"está online", "está offline"}local que = select("Estoy online", "estoy offline", "cerrar")if que != 3 thennotice_all(pc.get_name().." "..chat[que]) end end end Link to comment Share on other sites More sharing options...
Vexare Posted March 4, 2017 Report Share Posted March 4, 2017 hola me podrían decir donde puede estar el error en esta quest quest gmoline begin state start begin when login with pc.is_gm() begin local chat = {"está online", "está offline"} local que = select("Estoy online", "estoy offline", "cerrar") if que != 3 thennotice_all(pc.get_name().." "..chat[que]) end end end El error está en toda la función, y que la quest (si realmente funcionara) se ejecute de esa manera, en lo personal es terrible. quest gm_online begin state start begin when letter with pc.is_gm() begin send_letter("STAFF: Estado") end when button or info with pc.is_gm() begin local opciones = select("Online", "Offline", "Nada") if opciones == 1 then notice_all(""..pc.get_name().." se encuentra conectado.") elseif opciones == 2 then notice_all(""..pc.get_name().." se encuentra desconectado.") end end end end Si lo que buscas es algo parecido, pues.. ahí tienes. mrsanty 1 Link to comment Share on other sites More sharing options...
Dilong Posted March 4, 2017 Report Share Posted March 4, 2017 Lo mejor es que pongas el pequeño sistema de STAFF online, creo que esta posteado en este foro mrsanty 1 Link to comment Share on other sites More sharing options...
mrsanty Posted March 4, 2017 Author Report Share Posted March 4, 2017 la quest no es mia, la encontre por internet, sobre el de gm oline que nombras es ese que aparese en la misma ventana de amigo, en mi server la trate de poner pero como tiene un sistema que te avisa cuando hay un amigo on, cuando se conecta un gm queda avisandote y noseva mas. Link to comment Share on other sites More sharing options...
Recommended Posts