Jump to content

Zombie con fuego


NodZen

Recommended Posts

Posted

Hola amigos , quiero que me digan si este script funciona para crear fuego en el ID del ped especificado.... Es que no puedo probarlo por ahora. Diganme si funciona

addEvent ( "onZombieCreated", true ) 
addEventHandler ( "onZombieCreated", root, 
    function ( ) 
        if  ( getElementModel ( source ) == 68 ) then 
            setPedOnFire ( source, true ) 
            setTimer ( 
                function ( thePed ) 
                    if ( thePed and isElement ( thePed ) ) then 
                        setPedOnFire ( thePed, true ) 
                    end 
                end 
                ,1000, 0, source 
            ) 
        end 
    end 
) 

8)8)8)

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

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

Cual seria el source?

Para mi onResourceStart no va a servir.

Tiene que ser un evento como "onZombieSpawn" o algo de eso, que lo tienes que triggear.

WRS( World Racing Server) [server] = 8%

Posted

hay bastantes post relacionados al asunto este. y solid ha resolvido muchos.

nomas tienes que buscar y darte el tiempo de ir mirando los distintos post y fijarte si funcionaron o no

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

  • Recently Browsing   0 members

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