Plate Posted August 3, 2012 Posted August 3, 2012 Hola quisiera saber como hacer para restartear una variable Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Castillo Posted August 3, 2012 Posted August 3, 2012 La volves a definir con el valor inicial. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted August 3, 2012 Author Posted August 3, 2012 Se puede hacer para cuando un bot muera? zombiesMatados = 0 function restartear ( ) if ( isElementWithinColShape ( source, colshape ) ) then onZomieWasted = 0 end end addEventHandler( "onBotWasted",getRootElement(),restartear ) Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Castillo Posted August 3, 2012 Posted August 3, 2012 Queres decir esto: zombiesMatados = 0 function restartear ( ) if ( isElementWithinColShape ( source, colshape ) ) then zombiesMatados = 0 end end addEvent ( "onBotWasted", true ) addEventHandler ( "onBotWasted",getRootElement(), restartear ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted August 3, 2012 Author Posted August 3, 2012 Hay se restartearia la variable? Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Castillo Posted August 4, 2012 Posted August 4, 2012 Si. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted August 4, 2012 Author Posted August 4, 2012 Funciona muchas gracias solid pero tengo una duda como puedo hacer para que se destruya un blip cuando un bot muere Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Castillo Posted August 4, 2012 Posted August 4, 2012 destroyElement San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Plate Posted August 4, 2012 Author Posted August 4, 2012 Ok muchas gracias denuevo una ultima duda como hago para que en el colshape no tenga una sola posicion z tenga todas Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Plate Posted August 4, 2012 Author Posted August 4, 2012 function destroyblip() destroyElement(myblip) end addEventHandler("onBotWasted",getRootElement(),destroyblip) Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Recommended Posts