Jump to content

ayuda zombies


dell01

Recommended Posts

Posted

hola amigos, necesito saber como puedo ponerle a los zombies armas osea que los zombies usen bat o palas o katanas y asi alguien sabe como le puedo aser?

Posted

Tema movido a: "Scripting".

@On topic:

Busca por el foro, otros ya preguntaron sobre esto.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
Tema movido a: "Scripting".

@On topic:

Busca por el foro, otros ya preguntaron sobre esto.

Hola , te puedo pasar el que uso Yo...

Client

addEvent("Zomb_STFU",true) 
addEventHandler("Zomb_STFU",root, 
function ( zomb ) 
triggerServerEvent ( "onZombieSpawned", zomb ) 
end) 

Server

local weaponsTable = { 5, 6, 15, 9 } == [*]Estas son los ID de las armas 
  
addEvent ( "onZombieSpawned", true ) 
addEventHandler ( "onZombieSpawned", root, 
    function ( ) 
        giveWeapon ( source, weaponsTable[ math.random ( #weaponsTable ) ], 1, true ) -- You we're giving the return of math.random as weapon, 
    end 
) 

Prueva eso.

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted

hola si NOD yo uso ese tambien q encontre aqui ase un tiempo pero no se que tiene que me bugea el sonido de los autos :S

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...