Jump to content

Alexs

Members
  • Posts

    2,869
  • Joined

  • Last visited

Everything posted by Alexs

  1. Hola a Todos, cambiare de Hosting mi servidor y no quiero que mis usuarios pierdan sus cuentas, intente pasar solo "internal.db" y Es como si nada, que mas debo pasar para no perder los datos??
  2. Alexs

    Level up! en dx

    un XML?? explicate... No hay una manera de saber cuanto es la experiencia necesaria para tener el nivel?
  3. Alexs

    Level up! en dx

    mmmm.... Dejame buscar las funciones exportadas y te digo como se podria, quiza si se resta la experiencia objetivo a la experiencia actual....
  4. Tengo dudas con esa funcion, sirve para hacer objetos grandes como Edificios destructibles? De que manera puedo destruirlos??
  5. Alexs

    Level up! en dx

    addEventHandler("onClientRender",root, function ( ) dxDrawRectangle(625.0,135.0,53.0,48.0,tocolor(0,0,255,155),false) dxDrawText( tostring ( getElementData ( localPlayer, "level" ),628.0,141.0,674.0,177.0,tocolor(255,255,255,255),1.0,"default","left","top",false,false,false) end ) Quieres poner el el text Dx el nivel??? para eso no se usa en el Server Side la funcion exportada por el level system??
  6. Alexs

    Level up! en dx

    Codificado y no conozco el sistema o sus funciones, ni siquiera se si usamos ese, el solo dice que quiere mostrar el nivel (que no conocemos) en el dx que Solid le corrigio (que tampoco posteo)
  7. Alexs

    Level up! en dx

    Pues no conozco el Sistema de Levels, Postea todo y te ayudo
  8. Lo note luego de postear, luego de un error escribiendo el Evento funciono :B lo subire a la comunidad luego de probarlo, el unico problema es que tengo que poner para que los usuarios no cambien su nombre
  9. Corregi los autos y las armas, pero el GodMode sigue mal, intente asi: function godsync ( attacker, weapon, bodypart, loss ) if (attacker) then tatn = getTeamName(getPlayerTeam(attacker)) tatna = getTeamName(getPlayerTeam(source)) if ( tatn ~= "Infectados" ) and ( tatna ~= "Infectados" ) then cancelEvent ( ) end end end addEventHandler("onPlayerDamage", getRootElement(), godsync) function godsyncna ( attacker, weapon, bodypart, loss ) if not (attacker) then cancelEvent( ) end end addEventHandler("onPlayerDamage", getRootElement(), godsyncna)
  10. El principal problema es q todos leen los outputChatBox pero nadie gana el dinero...
  11. Corregido, Te diria Gracias pero el problema sigue solo que ahora cada 10 segundos consigue otro jugador, Que otro problema hay? Que error se ve en la linea 21? function cazeria () cazado = getRandomPlayer() outputChatBox ( "Ahora hay un Precio por la cabeza de " ..getPlayerName ( cazado )..". Matenlo y Ganaran $50.000" ) setElementData(cazado, "estado.cazeria", "True") end addEventHandler("onResourceStart", getRootElement(), cazeria) function estacazado ( totalAmmo, killer, killerWeapon, bodypart ) local estadocz = getElementData(source, "estado.cazeria") if (estadocz == "True") and (killer) then givePlayerMoney ( killer, 50000 ) outputChatBox ( "Lo has Matado, Ten tu Puto Dinero!", killer, 255, 0, 0, true ) setElementData(cazado, "estado.cazeria", "False") setTimer ( cazeria, 10000, 1) elseif (estadocz == "True") and not (killer) then outputChatBox ( "El Fugitivo es un Cobarde y se ha suicidado, Que Pena!" ) setElementData(cazado, "estado.cazeria", "False") setTimer ( cazeria, 10000, 1) else outputChatBox ( "Este no era el Fugitivo, deberias estar avergonzado -.-", killer, 255, 0, 0, true ) setElementHealth ( killer, getElementHealth(killer) - 25 ) end end addEventHandler ( "onPlayerWasted", getRootElement(), estacazado ) function cobardizo ( ) local estadocz2 = getElementData(source, "estado.cazeria") if (estadocz2 == "True") then setTimer ( cazeria, 10000, 1) end end addEventHandler ( "onPlayerQuit", getRootElement(), cobardizo )
  12. Todo esto por que escribir "attacker" Edit: Lo puse asi y el problema sigue
  13. No comprendo, que le puse mal?
  14. Hola a Todos, Tengo un problema con el siguiente script: function cazeria () cazado = getRandomPlayer() outputChatBox ( "Ahora hay un Precio por la cabeza de " ..getPlayerName ( cazado )..". Matenlo y Ganaran $50.000" ) setElementData(cazado, "estado.cazeria", "True") end addEventHandler("onResourceStart", getRootElement(), cazeria) function estacazado ( attacker ) local estadocz = getElementData(source, "estado.cazeria") if (estadocz == "True") and (killer) then givePlayerMoney ( killer, 50000 ) outputChatBox ( "Lo has Matado, Ten tu Puto Dinero!", killer, 255, 0, 0, true ) setElementData(cazado, "estado.cazeria", "False") setTimer ( cazeria, 10000, 1) elseif (estadocz == "true") and not (killer) then outputChatBox ( "El Fugitivo es un Cobarde y se ha suicidado, Que Pena!" ) setElementData(cazado, "estado.cazeria", "False") setTimer ( cazeria, 10000, 1) else outputChatBox ( "Este no era el Fugitivo, deberias estar avergonzado -.-", killer, 255, 0, 0, true ) setElementHealth ( killer, getElementHealth(killer) - 25 ) end end addEventHandler ( "onPlayerWasted", getRootElement(), estacazado ) function cobardizo ( ) local estadocz2 = getElementData(source, "estado.cazeria") if (estadocz2 == "true") then setTimer ( cazeria, 10000, 1) end end addEventHandler ( "onPlayerQuit", getRootElement(), cobardizo ) Esto es el script completo, pero en los outputChatBox todos leen y no solo el killer, me dice que en la linea 21 "attempt to perform arithmetic a boolean value" y hay un bug que no se por que ocurre, pero cuando el objetivo no ha muerto sigue diciendo "Ahora hay un Precio por la cabeza de " ..getPlayerName ( cazado )..". Matenlo y Ganaran $50.000" cada 30 segundos...
  15. Use attachElements createObject setElementData createProjectile
  16. Yeah, is Better Luck With The Hosting PD: I recommend you Put the Name of the Company in the Main Topic and garnish it
  17. mm.. My Ping is 200 a little Lower than Solid, But is good and enough, i dont know why you are so much Raged, is good ping, but the prices are the same in a VPS with very lowest ping and More Slots
  18. Pense que eso era un Freeroam, entonces que significan las siglas RPG ??
  19. Role Play Game no es lo mismo que RPG?? http://mx.answers.yahoo.com/question/in ... 725AAPehjw http://www.loaded.vg/site/foros/index.p ... 265.0;wap2 E.e ?
  20. Ok, let me try your Hosting with more resources and if my ping is low, i going to Post it here. PD: I am Chilean
  21. GameServers4You is Germany, My Hosting is French and the VPS Machine is on USA but my ping is lower than your Hosting
  22. 6 Megabytes in connection is the Regular Speed here and in my hosting or a VPS or in GameServers4You my ping so much lower than your Hosting, and please dont Flame because i am not flaming, i just say your problems.
×
×
  • Create New...