Okumura Posted December 18, 2011 Share Posted December 18, 2011 Hola espero que no les sea mucha molestia ayudarme con esto Trato de que zombies con una skin exploten y que otros tengan fuego. bueno estoy trabajando en los de explotar y tengo esto: function onZombieWasted (killer) if getPedSkin ( thePlayer ) == 264 then local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 0, source ) end end addEvent("onZombieWasted",true) addEventHandler ("onZombieWasted", root, onZombieWasted) Pero la cosa es que no funciona Ayudenme plis Link to comment
Castillo Posted December 18, 2011 Share Posted December 18, 2011 function onZombieWasted (killer) if (getElementModel( source) == 264) then local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 0, source ) end end addEvent("onZombieWasted",true) addEventHandler ("onZombieWasted", root, onZombieWasted) Link to comment
Okumura Posted December 18, 2011 Author Share Posted December 18, 2011 Gracias castillo espero no andarte molestando :c Link to comment
Recommended Posts