
TheBenja(totoco)
Members-
Posts
28 -
Joined
-
Last visited
Everything posted by TheBenja(totoco)
-
Hi everyone,well today Im asking for a good spaz12 mod,I use but I dont like my current mod and its hard to fin one in the pages,I found a lot of mods but I didnt like it,so please help me
-
hola,bueno quiero un spawnmarker que de hydras y esto es lo que llevo hasta ahora,nos e en que estoy fallando y se que ustedes me pueden ayudar,de antemano gracias. createMarker ( 212.86117553711, 1916.1584472656, 17.640625 ) bool isElementWithinMarker ( element theMarker, marker ring ) dutymarker = createMarker(212.86117553711, 1916.1584472656, 17.640625, 'ring', 2.0, 255, 0, 0, 150) function duty(thePlayer, matchingDimension) if isElementWithinMarker(thePlayer, dutymarker) then giveWeapon(thePlayer, 22, 100, 1) else outputChatBox("You are not at the right place!", thePlayer, 255, 0, 0) end end addCommandHandler("duty", duty) bool setMarkerColor ( marker theMarker, int r, int g, int b, int a ) newmarker = createMarker ( 1000, 1000, 1000, 1, 255, 0, 0, 255 ) setMarkerColor ( newmarker, 0, 255, 0, 255 ) ahi dice giveWeapon y no quiero armas,pero no se como hacer para que aparesca la gui con los vehiculos ni para que aparesca el marker en el mapa,ayuda por favor
-
hi,i made this gui with the wiki but idk what happened function createLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwLogin = guiCreateWindow(X, Y, Width, Height, "Porfavor ingrese", true) X = 0.0825 Y = 0.2 Width = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Usuario", true, wdwLogin) Y = 0.5 guiCreateLabel(X, Y, Width, Height, "Contraseña", true, wdwLogin) X = 0.415 Y = 0.2 Width = 0.5 Height = 0.15 edtUser = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) Y = 0.5 edtPass = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) guiEditSetMaxLength(edtUser, 50) guiEditSetMaxLength(edtPass, 50) X = 0.415 Y = 0.7 Width = 0.25 Height = 0.2 btnLogin = guiCreateButton(X, Y, Width, Height, "Ingresar", true, wdwLogin) guiSetVisible(wdwLogin, false) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createLoginWindow() end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createLoginWindow() outputChatBox("Welcome to My new Server, please be patient and log in/register.") -- if the GUI was successfully created, then show the GUI to the player if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) else outputChatBox("An unexpected error has occurred and the log in GUI has not been created.") end showCursor(true) guiSetInputEnabled(true) end addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) function createLoginWindow() addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) end function clientSubmitLogin(button,state) if button == "left" and state == "up" then guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) end end function clientSubmitLogin(button,state) if button == "left" and state == "up" then local username = guiGetText(edtUser) local password = guiGetText(edtPass) if username and password then triggerServerEvent("submitLogin", getRootElement(), username, password) guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) else outputChatBox("Please enter a username and password.") end end end function loginHandler(username,password) end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) function loginHandler(username,password) if username == "user" and password == "apple" then if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler)
-
i dont wanna the jobs made and i dont think that there is a magic program to make it,i wanna someone to teach me how to do it,not something who do it for me
-
how to make jobs?please tell me,i cant understand how to do it and i need it,thanks
-
EDITADO:ENCONTRE EL PROBLEMA(era porque no hise el ZIP)SOLUCIONADO,CIERRENLO PLS
-
sip,ahi lo puse porque de ahi lo saque para pegarle aki
-
no aparece nada de nada,ni failed to load,es como si no estubiera,esta es my ventana de login : function createLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwLogin = guiCreateWindow(X, Y, Width, Height, "Porfavor ingrese", true) X = 0.0825 Y = 0.2 Width = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Usuario", true, wdwLogin) Y = 0.5 guiCreateLabel(X, Y, Width, Height, "Contraseña", true, wdwLogin) X = 0.415 Y = 0.2 Width = 0.5 Height = 0.15 edtUser = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) Y = 0.5 edtPass = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) guiEditSetMaxLength(edtUser, 50) guiEditSetMaxLength(edtPass, 50) X = 0.415 Y = 0.7 Width = 0.25 Height = 0.2 btnLogin = guiCreateButton(X, Y, Width, Height, "Ingresar", true, wdwLogin) guiSetVisible(wdwLogin, false) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createLoginWindow() end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createLoginWindow() outputChatBox("Welcome to My new Server, please be patient and log in/register.") -- if the GUI was successfully created, then show the GUI to the player if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) else outputChatBox("An unexpected error has occurred and the log in GUI has not been created.") end showCursor(true) guiSetInputEnabled(true) end addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) function createLoginWindow() addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) end function clientSubmitLogin(button,state) if button == "left" and state == "up" then guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) end end function clientSubmitLogin(button,state) if button == "left" and state == "up" then local username = guiGetText(edtUser) local password = guiGetText(edtPass) if username and password then triggerServerEvent("submitLogin", getRootElement(), username, password) guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) else outputChatBox("Please enter a username and password.") end end end function loginHandler(username,password) end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) function loginHandler(username,password) if username == "user" and password == "apple" then if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler)
-
No te funca en el sv? O en LuaEdit? en el sv,cuando le doy a start o refresh no se carga,tal cual como si no existiera
-
cual me recomiendas?
-
ayuda,hice unos scripts y un loginpanel,lo puse en el luaedit,lo guarde,segui el procedimiento pero a la hora de intentar ejectuarlo no me resulta,es como que no existiera,alguien me puede ayudar?
-
porsupuesto
-
grax,se ve re facil,lo hare,muchas gracias
-
pues el titulo lo dice todo,no quiero que me den el script esta vez,sino que me digan como hacerlo,los del foro siempre saben como mantenerme interesado en los scripts ,gracias de antemano
-
Hola,muy buenas a todos,Ayuda con 2 Cosas
TheBenja(totoco) replied to TheBenja(totoco)'s topic in Scripting
1.hasta ahora no tengo sistema de respawn 2.Creo que es lo mas probable -
Habia una vez un chino(sin ofender chinos)que se mudo a una casa en Chile y el vecino se llama Ulo,cada vez que el chino llegaba del trabajo le decia "hola señol Culo""hola señol Culo"a lo que al dia siguiente respondio "SI ME DICES CULO OTRA VEZ TE HECHO A MIS PERROS"al dia siguiente el chino se olvido y dijo como costumbre "Hola Señol Culo"y el chino salio corriendo y llego donde un carabinero(policia)y le dijo -señol calabinelo los pelos del culo no me dejan caminal,a lo que el policia le responde:-pero por que no se los corta señor?cada vez que los voy a matal el culo pega un silvio y se van pa entro
-
Hola,muy buenas a todos,Ayuda con 2 Cosas
TheBenja(totoco) replied to TheBenja(totoco)'s topic in Scripting
1.lo quiero para que no se pierdan las armas ni los skins al morir 2.ya intente reduciendo el numero de zombies incluso a 5 y nada,sigue lageado -
Hola como estan?bueno yo bien,queria pedirle una ayudita con el onPlayerWasted,no se nada sobre este,se que es un evento el cual se activa cuando el jugar muere pero no se crearlo ni donde ponerlo y la otras es,mi server es de zombies asique por lo tanto causa un lagazo epico y no se como reducirlo,me ayudan con eso?de antemano gracias
-
benxaxminx no pedi el scrip hecho,ademas ya tengo esos trabajos y digamos que no son lo que esperaba,queria un ejemplo de como se INVENTA UNO PROPIO para obviamente hacerlo por mi mismo,y por el script de guardado me referia al onPlayerWasted gracias de todas formas
-
Hi everyone,well im not a good scripter,I dont know anything about it and the wiki didnt help me much,but I want to have a rp server with SWAT Team,airforce and cops criminals:gansgtars(for turfing)and criminals(when u kill someone u become criminal) civilian jobs: taxi driver trucker news reporter delivery man mechanic paramedic: paramedic a bank system with ATM's and a bank robbery every 30 mins the cops can arrest the crims when they kill someone or when they rob the bank and won 6 stars,if a cop hit a non-wanted player or shot a vehicle of non-wanted player he win star,the swat team and airforce can arrest the cops the cop become criminal when he win the third stars for the airforce base in the gone airport in the desert a spawn marker with rhino,hydra,hunter,police maverick,patriot,rc goblin,seasparrow and rustler in the SWAT bas(an hq near the lspd)a spawnmarker with the S.W.A.T(water tank)quad,nrg500,fbi rancher,cops cars and on the roof a spawnmarker with the policemaverick A spawnmarker to take the jobs Please I need ur help/colaboration with this,I cant pay real money but I can help with another favor,please help me
-
alguien que me de un ejemplo porfa,asi posiblemente avance arto PS:Si es posible que me pasen el script para que no se pierdan las armas,dinero,team y skin se los agradeceria
-
mas que salir a la luz es poder crear lo que uno quiere. "hechar a volar la imaginación" es exacto lo que quiero,crear mi propio mundo donde pueda ayudar,juego en el mejor server del mundo(no dare el nombre pero todos deberian conocerlo)y es tal cual como la vida real,hay criminales trabajos grupos elite ya saben,y me gustaria crear algo asi pero no exacto,mejorar ciertas cosas y hacer feliz a las personas,en ese servidor hay un grupo(armedforces) en el cual fui desvalorado,malinterpretado,engañada y expulsado por culpa de un mentiroso que tenia mas "credibilidad" que yo,y de eso kiero hacerlo igual pero dando mas oportunidades,es realmente dificil para my aprender,pero no me hechare a morir,si alguien me pudiera mandar un mensaje diciendo lo que debe tener si o si on roleplay(me refiero a q tipo de script,alguna imagen expecial,esas cosas)gracias y por favor ayudenme a realizar esto
-
lo se sergi y gracias a ti se lo poco y nada,se como hacer algunos scripts menores a scripts simples y escribi este post para perfeccionar eso y avanzar a una "nueva etapa",enf in si alguiuen puede aun sigo esperando ayuda
-
necesito ayuda para scriptear un server,porfa quiero aprender pero no tengo la posibilidad se me hace muy dificil
-
well if u can i want a RP gamemode iwth the arrest and wanted system including: LAW GROUPS: Cops S.W.A.T Team Airforce Civilian Groups: Trucker Taxi Driver Delivery Man News reporter CRIMINALS: Gangster(for take turfs) Criminal Drug Dealer PARAMEDIC: Paramedic(heal players with spraycan) Ammunation:all weapons but not the molotov,minigun,rocket lunchers Car shop Bike shop Aircraft shop(without the hydra,hunter and seasparrow) Respawn at the most near hospital and spawn car markers for the jobs I hope u can make somethings of this,thanks