StanMarsh Posted May 23, 2013 Share Posted May 23, 2013 Hola, Quisiera Saber Como crear Zombies Con un comando Por lo menos /crearzombies 11 Link to comment
BorderLine Posted May 23, 2013 Share Posted May 23, 2013 PVI: https://wiki.multitheftauto.com/wiki/Slothman/Zombies Link to comment
StanMarsh Posted May 23, 2013 Author Share Posted May 23, 2013 PVI:https://wiki.multitheftauto.com/wiki/Slothman/Zombies me das un ejemplo? Link to comment
Arsilex Posted May 23, 2013 Share Posted May 23, 2013 element createZombie( float x, float y, float z, [int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0 ] ) Link to comment
Alexs Posted May 23, 2013 Share Posted May 23, 2013 Ten en cuenta que los zombies solo spawnearan si la cantidad Maxima de Zombies es mayor a la Cantidad de Zombies vivos. addCommandHandler( "crearzombies", function( theSource, _, zombieC ) local zombies = tonumber(zombieC) or 0 if zombies > 0 then local x, y, z = getElementPosition( theSource ) for i = 1, zombies do exports.zombies:createZombie ( x, y + i, z + 0.5 ) end end end ) Es un código server side. Link to comment
Recommended Posts