-
Posts
460 -
Joined
-
Last visited
Everything posted by MisterQuestions
-
[Final] Bonsai's Multigamemode - Now Fully Uncompiled
MisterQuestions replied to Bonsai's topic in Resources
Do you still having old version? -
[Final] Bonsai's Multigamemode - Now Fully Uncompiled
MisterQuestions replied to Bonsai's topic in Resources
You removed the admin panel? -
No entinedo aveces funciona aveces no les paso el codigo.... Client-Side ---Trigger Register addEventHandler("onClientClick", getRootElement(), function( button, state, px, py ) if ( button == "left" and state == "down" ) then if ( px > 266 and px < 359 and py > 634 and py < 674 ) then local username = guiGetText( user_edit ) local password = guiGetText( pass_edit ) if ( user ~= "" and pass ~= "" ) then -- outputChatBox("El boton de register funciona!", 255, 255, 255, true) triggerServerEvent("player:register", getLocalPlayer(), username, password) end end end end ) Server-Side function serverRegister( username, password ) local account = getAccount ( username, password ) if (account == false) then addAccount(tostring(username),tostring(password)) outputChatBox("Te has registrado exitosamente! #ff9e00(#ffffff"..username..", "..password.."#ff9e00)#ffffff.", source, 255, 255, 255, true) outputChatBox("Ahora puedes logearte!", source, 255, 255, 255, true) else outputChatBox("Failed to register!", source, 255, 0, 0, true) end end addEvent("player:register", true) addEventHandler("player:register", getRootElement(), serverRegister)
-
No entinedo aveces funciona aveces no les paso el codigo.... Client-Side ---Trigger Register addEventHandler("onClientClick", getRootElement(), function( button, state, px, py ) if ( button == "left" and state == "down" ) then if ( px > 266 and px < 359 and py > 634 and py < 674 ) then local username = guiGetText( user_edit ) local password = guiGetText( pass_edit ) if ( user ~= "" and pass ~= "" ) then -- outputChatBox("El boton de register funciona!", 255, 255, 255, true) triggerServerEvent("player:register", getLocalPlayer(), username, password) end end end end ) Server-Side function serverRegister( username, password ) local account = getAccount ( username, password ) if (account == false) then addAccount(tostring(username),tostring(password)) outputChatBox("Te has registrado exitosamente! #ff9e00(#ffffff"..username..", "..password.."#ff9e00)#ffffff.", source, 255, 255, 255, true) outputChatBox("Ahora puedes logearte!", source, 255, 255, 255, true) else outputChatBox("Failed to register!", source, 255, 0, 0, true) end end addEvent("player:register", true) addEventHandler("player:register", getRootElement(), serverRegister)
-
No entinedo aveces funciona aveces no les paso el codigo.... Client-Side ---Trigger Register addEventHandler("onClientClick", getRootElement(), function( button, state, px, py ) if ( button == "left" and state == "down" ) then if ( px > 266 and px < 359 and py > 634 and py < 674 ) then local username = guiGetText( user_edit ) local password = guiGetText( pass_edit ) if ( user ~= "" and pass ~= "" ) then -- outputChatBox("El boton de register funciona!", 255, 255, 255, true) triggerServerEvent("player:register", getLocalPlayer(), username, password) end end end end ) Server-Side function serverRegister( username, password ) local account = getAccount ( username, password ) if (account == false) then addAccount(tostring(username),tostring(password)) outputChatBox("Te has registrado exitosamente! #ff9e00(#ffffff"..username..", "..password.."#ff9e00)#ffffff.", source, 255, 255, 255, true) outputChatBox("Ahora puedes logearte!", source, 255, 255, 255, true) else outputChatBox("Failed to register!", source, 255, 0, 0, true) end end addEvent("player:register", true) addEventHandler("player:register", getRootElement(), serverRegister)
-
And how to make with arrow_l to return camera modes? I should chance - instead of + ? ?
-
Doenst change the camera
-
Whats wrong on that code? Should change camera with the arrow_r
-
Whats wrong with this code? Server-Side function lookDMSelection( source ) setCameraMatrix(source, 2296.2890625, -1395.0576171875, 694.02215576172, 2308.0771484375, -1410.1640625, 688.58026123047) end function lookDDSelection( source ) setCameraMatrix(source, 2262.130859375, -1402.4462890625, 699.66162109375, 2271.5087890625, -1421.4033203125, 691.99346923828) end function lookHTSelection( source ) setCameraMatrix(source, 2248.107421875, -1400.54296875, 695.64147949219, 2232.736328125, -1411.4306640625, 696.97576904297) end bindKey(source, "arrow_r", "down", function() if lookDMSelection() then lookDDSelection() elseif lookDDSelection() then lookHTSelection() elseif lookHTSelection() then lookDMSelection() end end )
-
Hey, can somebody say me if its possible to make chat just visible for players in a dimension, if is on dimension 0 when he chat just be visible for players on dimension 0. and make a global chat to show to all players. doesn't care their dimension.
-
No se .-. Reinicie el servidor y ya registraba y todo
-
Listo, ya no tengo mas errores, gracias.
-
Si, tiene permisos de admin & todo pero no se que falla...
-
Hola a todos, tengo un problema, he creado un pequeño login, pero pues tengo el problema de que no me registra la cuenta, o almenos eso parece por que aparece como si la registrara pero al intentar logear con esta, da error. Aqui el codigo. Server-Side function serverLogin( username, password ) if not (username == "") then if not (password == "") then local account = getAccount ( username, password ) if ( account ~= false ) then logIn(source, account, password) outputChatBox("You successfully logged in", source, 0, 255, 0, true) else outputChatBox("Failed to login!", source, 255, 0, 0, true) end end end end addEvent("player:login", true) addEventHandler("player:login", getRootElement(), serverLogin) function serverRegister( username, password ) local account = getAccount ( username, password ) if (account == false) then addAccount(tostring(username),tostring(password)) outputChatBox("Te has registrado exitosamente! #ff9e00(#ffffff"..username..", "..password.."#ff9e00)#ffffff.", source, 255, 255, 255, true) else outputChatBox("Failed to register!", source, 255, 0, 0, true) end end addEvent("player:register", true) addEventHandler("player:register", getRootElement(), serverRegister)
-
Gracias Gracias Gracias!!!!!!!! Funciona enserio gracias.
-
Funcionan los botones, Estoy creando un script de anuncio con el text-speech que ya existe. Se usa el traductor de google como voz. & puse en idioma EN & ES para los textos. Funciona todo bien, pero ahora quiero hacer que no solo se me ponga un sonido ami si no a todos los jugadores.
-
Gracias por todo.
-
Mmm linux he visto algo, tu y yo cruzamos lo del rectangulo, pero si te das cuenta tambien tiene un texto, usa los valores del texto y funciona, pero los del rectangulo no (no tengo explicación pero funciona)
-
Funciona pero me podrias dar algun ejemplo más para comprender por completo el uso de este? Yo he intentado hacer lo mismo que tu linux, no veo resultados.
-
Editado, Me puedes decir si esta bien, debe poner el lenguage al dar click al rectangle. Porfavor Si esta mal, me podrias decir en que, o corregirlo porfavor.
-
Nop, todo limpio
-
Gracias.
-
Lamento revivir este tema viejo, pero enserio necesito ayuda Un ejemplo porfavor
-
Somebody please D: