NodZen Posted June 22, 2012 Posted June 22, 2012 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 ) ------------------------------------------------------------------------------------------ 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
Alexs Posted June 22, 2012 Posted June 22, 2012 no funcionaria, cuando se supone que se activa la funcion? Developer @ MYVAL
NodZen Posted June 22, 2012 Author Posted June 22, 2012 no funcionaria, cuando se supone que se activa la funcion? Luego agregaria cuando se inicia , onResourceStart....Pero funcionaria? ------------------------------------------------------------------------------------------ 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
Alexs Posted June 22, 2012 Posted June 22, 2012 Deberia..., quiza algun argumento mal, pero deja probarlo. Developer @ MYVAL
Edikosh998 Posted June 23, 2012 Posted June 23, 2012 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%
BorderLine Posted June 23, 2012 Posted June 23, 2012 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
Recommended Posts