Jump to content

#Humber*

Members
  • Posts

    21
  • Joined

  • Last visited

About #Humber*

  • Birthday 17/03/2004

Details

  • Location
    Argentina
  • Occupation
    Estudiante
  • Interests
    Scripting

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

#Humber*'s Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. Gracias por responder, acabo de fijarme y no, nada de eso.
  2. Hola a todos, estoy intentando hacer un gamemode de zombies vs. humanos, tuve unos problemas pero pude solucionarlos. Pero ahora me encuentro con otro problema, y es que al golpear a otro jugador con mis puños o un arma blanca como una pala, este no se mueve, ni hace la animacion cuando lo golpeo, ni le quita vida. Cualquier ayuda se acepta, muchas gracias.
  3. However, it is not complicated to create spawnpoints manually. Thank you.
  4. Yes. I know that
  5. Hi all, I'm trying to make a gamemode for my server, but I have a problem. meta.xml: <meta> <info author="Humber" version="1.0" name="ZombieWar" type="gamemode" edf:definition="edf/ZombieWar.edf" /> </meta> ZombieWar.edf: <def name="Zombie War"> <element name="spawnpoint" friendlyname="Spawnpoint"> <data name="position" type="coord3d" default="0,0,0" /> </element> </def> Debugscript: ERROR: [editor]/edf/edf.lua:220: zombiewar: couldn't load edf file Help please
  6. Hola, queria hacer que el resource 'Zombies' se iniciara por la noche, y se parara por el día, pero no funciona. setTimer( function() local hour, minutes = getTime() if hour >= 21 and hour < 4 then if getResourceState(getResourceFromName("Zombies")) == "loaded" then startResource(getResourceFromName("Zombies")) end else if getResourceState(getResourceFromName("Zombies")) == "running" then stopResource(getResourceFromName("Zombies")) end end end, 5000, 0 ) Funciona bien la parte de stop, pero el resource nunca se inicia.
  7. I think you can use string.gsub
  8. Hi all, I am doing something like this. function getServerMoney() local moneyS = {} for k,v in ipairs(getElementsByType("player")) do local moneyP = getPlayerMoney(v) table.insert(moneyS, moneyP) end end I want to + all de values in the table, can you help me please?
  9. setAmbientSoundEnabled( "gunfire", false)
  10. Good idea. I will try. But, can I use this? client function setWL() theTimer = setTimer(setWaterLevel, 100, 0, getWaterLevel()+0.1) end addEvent("setWaterL") addEventHandler("setWaterL", root, setWL) server addCommandHandler("tsunami", function(source) local sourceAccount = getPlayerAccount(source) if isObjectInACLGroup("user."..getAccountName(sourceAccount), aclGetGroup("Admin")) then triggerClientEvent(source, "setWaterL") end end )
  11. I know how to use triggerClientEvent() but not for this. Can you give me an example, please?
×
×
  • Create New...