StanMarsh Posted June 24, 2013 Posted June 24, 2013 Hola, tengo un problema que no se por que pasa y no se como corregir asi que vine a preguntar aqui, bueno el problema es que al caer de algo por lo menos 10 centimetros de altura o mas te mata te baja la vida de repente osea toda pense que el problema estaria en algo del boss pero quiero saber como corregirlo aqui lo que pienso que es el problema: function bot ( attacker ) if attacker == slothbot1 then -- killPed ( source, attacker ) end end En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
Castillo Posted June 24, 2013 Posted June 24, 2013 No entiendo el problema, ademas de que ese script no todo lo que tenes. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
NodZen Posted June 24, 2013 Posted June 24, 2013 No te entiendo bien. No será problema de la gravedad? ------------------------------------------------------------------------------------------ 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
StanMarsh Posted June 24, 2013 Author Posted June 24, 2013 Ya lo solucione era el script del boss que interferia por que habia puesto que al un player acercarse muriera pero se daño y al caer morias aunque fueran 10 centimetro En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
Narutimmy Posted June 25, 2013 Posted June 25, 2013 me pasaba creo lo sacastes de uno de los temas donde pregunte como hacer para que el slotbot mate de 1, y tenia ese problema que mataba 1 pero si te caes o algo pro el estilo mueres... el codigo era asi: Lo tienes asi: function bot ( attacker ) if attacker == slothbot1 then -- killPed ( source, attacker ) end end pero es asi: ---Matar 1 function bot ( attacker ) if attacker == slothbot1 then -- if ( getElementType ( attacker ) == "ped" ) then killPed ( source, attacker ) end end end addEventHandler("onPlayerDamage", getRootElement(), bot) mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
StanMarsh Posted June 25, 2013 Author Posted June 25, 2013 me pasaba creo lo sacastes de uno de los temas donde pregunte como hacer para que el slotbot mate de 1, y tenia ese problema que mataba 1 pero si te caes o algo pro el estilo mueres... el codigo era asi:Lo tienes asi: function bot ( attacker ) if attacker == slothbot1 then -- killPed ( source, attacker ) end end pero es asi: ---Matar 1 function bot ( attacker ) if attacker == slothbot1 then -- if ( getElementType ( attacker ) == "ped" ) then killPed ( source, attacker ) end end end addEventHandler("onPlayerDamage", getRootElement(), bot) Ohhh gracias y si es que tenia mitad del script que habia hecho yo pero me faltaba aun y no sabia como aserlo y un amigo me dio uno y no se si era ese pero gracias En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
Recommended Posts