Jump to content

Gothem

Members
  • Posts

    194
  • Joined

  • Last visited

Everything posted by Gothem

  1. 2. hace un timer que se repita cada cierto tiempo. en donde se vea el dinero del jugador, vea si es que cambia y lo ponga en el scoreboard. (Eso es lo que hace el recurso admin para ver el dinero de los jugadores) 3. function walktheprisoner(thecop, theprisoner) if (getElementData ( theprisoner, "currentstatus" ) == "underarrest") and (getPedOccupiedVehicle ( theprisoner ) == false ) then local copx, copy, copz = getElementPosition ( thecop ) local prisonerx, prisonery, prisonerz = getElementPosition ( theprisoner ) copangle = ( 360 - math.deg ( math.atan2 ( ( copx - prisonerx ), ( copy - prisonery ) ) ) ) % 360 setPedRotation ( theprisoner, copangle ) setCameraTarget ( theprisoner, theprisoner ) local dist = getDistanceBetweenPoints2D ( copx, copy, prisonerx, prisonery ) if ( dist > 35 ) then -- Aqui es cuando el jugador se aleja bastante setElementPosition( theprisoner, copx, copy+1, copz ) --Teletransportamos el jugador al lado del policia elseif ( dist > 17 ) then setControlState ( theprisoner, "sprint", true ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist > 10 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist > 5 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", true ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist < 2 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", false ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) end end end Eso era lo que buscabas o no? o:
  2. 1. Para quitarle la función simplemente usas la función setPedAnimation(ped) y nada mas. 2. Eso es por hacerlo client-side. Si quieres hacer alguna modificación al scoreboard es preferible hacerlo desde el servidor. 3. Puedes explicar mejor cual era el problema?
  3. prueba esto. intenta con las versiones de nightly.multitheftauto.com (obviamente version 1.0.5 y el cliente)
  4. Its better set the ped an animation of walking than using setPedControlState, so you can set the animation server-side too.
  5. Yeah, it was because the machine was in maintenance :E thanks for the signatures Jason !
  6. have you tried if it works when it gets damaged to?
  7. when a player get the damage by fall, the weapon is 54 its described here Death reasons
  8. Gothem

    Argentinian Host!

    www.clandestino.cl There you have south american game servers
  9. tienes router? si es asi intenta conectandote directamente a internet.
  10. it looks nice it would be cool if you could add this two ones
  11. estas seguro que no tienes ningún firewall bloqueando? antivirus u otro?
  12. Server Guide just read the linux installation part
  13. excellent idea... i tried to do it before but i found than the object limiter will prevent to do the gamemode.... hopefully i think you should find a solution to that if you want to continue working and if you havent resolved that yet.... btw.. good luck with your gamemode (if you want i can share my try of this gamemode. if you want, it is just debugging script )
  14. another guy than just copied my script in the same day than i released it. my resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1219 stealer: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1220
  15. i have tried disabling all firewalls and passing the computer directly to internet. nothing works
  16. i have tried disabling all firewalls and passing the computer directly to internet. nothing works
  17. it says "Master server list could not be retrieved" D:
  18. it says "Master server list could not be retrieved" D:
  19. i tried disabling the firewall and dont solved the problem. i like to solve the problem of the server list, i know the quick connect and the server list of game monitor but i like to solve the problem of the server browser itself.
  20. i tried disabling the firewall and dont solved the problem. i like to solve the problem of the server list, i know the quick connect and the server list of game monitor but i like to solve the problem of the server browser itself.
  21. Well that is, the server browser dont show any server. I have the mta 1.0.3 installed and im running in windows 7 64-bits i tried reinstalling, pressing refresh, restarting and restarting the system. if someone can solve my problem thanks
  22. Well that is, the server browser dont show any server. I have the mta 1.0.3 installed and im running in windows 7 64-bits i tried reinstalling, pressing refresh, restarting and restarting the system. if someone can solve my problem thanks
×
×
  • Create New...