Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Why did you add 'target'? Remove 'thePlayer' from toggleAllControls function.
  2. El problema es que estas usando math.min en lugar de math.max. math.min devuelve el numero mas chico, en este caso, seria 0 obviamente.
  3. onMarkerHit is a server side event, you need to use onClientMarkerHit. Also, you must make sure that 'thePlayer' is the localPlayer.
  4. Supongo que el valor "visualizaciones" empezara por un valor mas alto que 0?
  5. A que te refieres con "de golpe"? fijate que valor tiene antes y despues de usar setElementData.
  6. You can't set custom weapon properties for each player.
  7. 'visualizacionActual' tendria que estar definido dentro del mismo timer, si no, como obtiene el valor actual?
  8. Place the event handler after guiCreateStaticImage. And remove 'local' from guiCreateStaticImage.
  9. Proba esto: temporizadorVisualizar[ player ] = setTimer ( function ( player ) setElementData ( player, "visualizando", math.min( visualizacionActual- 1, 0 ) ) end, 50000, 0, player )
  10. Y la linea 115 cual seria?
  11. With such explosion, the money would be destroyed. Just saying .
  12. Ese codigo hace exactamente lo mismo, fijate que si lo ejecutas, ambos dan el mismo resultado.
  13. ok calm your tits haha , if you want to set the camera on a place use setCameraTarget That function is not for that.
  14. Ejemplo: El width es 210, lo que haces es dividir 210/100 y multiplicar el resultado, osea 2.1 por el progreso. local width = 210 local progress = 75 newWidth = ( width / 100 ) * progress Obviamente que no hace falta dividirlo en el codigo, lo podes hacer con la calculadora y poner directamente: newWidth = ( 2.1 * progress )
  15. Diseñala con el tamaño total (100%), y despues lo dividis y multiplicas eso por el progreso.
  16. Yo no uso lo que ofrece el guieditor, porque por mi experiencia, no sirve. Esta es mi manera de hacer que se vea bien en todas las resoluciones: local sourceX, sourceY = 1920, 1080 -- La resolucion donde fue creado local sx, sy = guiGetScreenSize ( ) addEventHandler ( "onClientRender", root, function ( ) dxDrawRectangle ( ( 5 / sourceX ) * sx, ( 5 / sourceY ) * sy, ( 5 / sourceX ) * sx, ( 5 / sourceY ) * sy, tocolor ( 255, 255, 255 ) ) end ) Y para la escala de los textos: ( sy / sourceY ) * scale
  17. No damos soporte a scripts robados. Tema cerrado.
  18. Well, you did use their scripts without permission. I'm not saying what they did is right, I don't know if they asked you to stop using their scripts and you might have refused.
  19. I don't want to sound rude or anything, but why would someone pay so much just to protect a few models?
  20. Castillo

    team

    Queres que los teams no aparezcan si no tienen jugadores?
  21. Castillo

    GTA V on MTA?

    Not gonna happen.
  22. You would need to decrypt it aswell as decompile it.
  23. So, you are asking for help with a stolen/leaked resource?
×
×
  • Create New...