Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Question

    Set the setting on the race resource, name: "admingroup".
  2. Castillo

    ACL teamsaver

    You want to create a team with the name "Admin"? if so, then just replace "team" with "Admin".
  3. This isn't a MGM for race though, he said it has Freeroam and Hay, which is a lot easier to make.
  4. Mi script el de "exp_system" usa element data, asi que podes usar el event onClientElementDataChange para cambiar el progreso al subir la experiencia. P.D: Acabo de subir unos cambios al "exp_system", agregue las funciones: getLevelData, getPlayerLevel y getPlayerEXP client-side, asi podes hacer este script mucho mas facil.
  5. Castillo

    ACL teamsaver

    Did it work or not? because you confused me, you just said that it created it, but at the same time you said it doesn't work.
  6. Try to copy the building, then get the position out of it. Also, the map editor has a tool to remove world objects from it.
  7. The map editor shows the LOD object model as far as I know.
  8. Castillo

    ACL teamsaver

    Remove getPlayerAccount and use "account" at getAccountName.
  9. Same one, removeWorldModel, LOD and object use different ID.
  10. Maybe is the LOD object or not part of the one you removed?
  11. Castillo

    Armas

    function fire ( ) for key, value in ipairs ( getElementsByType ( "player" ) ) do toggleControl ( value, "fire", false ) end end addCommandHandler ( "fire", fire ) Usa eso entonces, pero igual no desactivara solo para la que esten usando, ya que para eso necesitas algo mas sofisticado.
  12. Because you did it wrong, check the wiki.
  13. You need more functions, check the wiki.
  14. addEvent ( "onZombieWasted", true ) addEventHandler ( "onZombieWasted", root, function ( killer ) local kills = getElementData ( killer, "Zombie kills" ) if ( kills == 3 ) then outputChatBox ( "You've killed 3 zombies!", killer ) end end )
  15. Must be that the object has no collisions.
  16. Castillo

    Armas

    El no dijo que queria desactivarlas para todos, sino para el que usa el comando. function fire ( thePlayer ) toggleControl ( thePlayer, "fire", false ) end addCommandHandler ( "fire", fire )
  17. Castillo

    Armas

    Podes desactivar el control para disparar usando toggleControl.
  18. What is the problem with it?
  19. The zombies resource stores kills on element data, the data name is: "Zombie kills" or "Zombie Kills".
  20. But is not as simple as that... you must then edit the script and replace the GUI with the one GUIeditor gave you, and do it like the script works, leaving variables and so on intact.
  21. Castillo

    Question

    elseif column.name == "Ranks" then outputChatBox ( tostring ( content ) ) dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI ) Try that and see what it outputs to chatbox when you open the scoreboard.
×
×
  • Create New...