Plate Posted April 23, 2012 Posted April 23, 2012 hola este es un script que encontré en el foro sobre un zombie boss me funciono pero cada ves que me mata el boss luego deja de disparar por un rato hasta que recibe un gran inpacto ej: bazuca o minigun function spawnSlothBot(thePlayer, cmd, skin, weapon, mode, rot, team) local x = 1088.0643310547 local y = 1074.5938720703 local z = 10.838157653809 local skin = 2 local weapon = 38 local team = terrorist local mode = "hunting" local interior =0 local dimension = 0 local rot = 90 slothbot = exports["slothbot"]:spawnBot( 1086.6645507813, 1076.1888427734, 10.838157653809, 90, 300, 0, 0, Boss, 38, hunting, true ) exports.extrahealth:setElementExtraHealth(slothbot,10000000) end addCommandHandler( "spawnbot", spawnSlothBot ) quisiera hacerlo con un setTimer se podria? Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Alexs Posted April 23, 2012 Posted April 23, 2012 usa los LUA Quote y no comprendo que deseas.. Developer @ MYVAL
Plate Posted April 23, 2012 Author Posted April 23, 2012 jeje soy noob scripteando no entiendo algunas cosas Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Alexs Posted April 23, 2012 Posted April 23, 2012 jeje soy noob scripteando no entiendo algunas cosas Si me explicas te digo que hacer, pero diciendo eso no puedo hacer nada... Developer @ MYVAL
Plate Posted April 23, 2012 Author Posted April 23, 2012 lo que quier hacer es que se spawnee un zombie boss cada 5 minutos en la posición indicada en el resoruce Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
BorderLine Posted April 23, 2012 Posted April 23, 2012 pero aplicaste un command handler. Deberias aplicar un onresurcestart sino se creara cada vez que des de comando /spawnbot 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
Plate Posted April 24, 2012 Author Posted April 24, 2012 Ok muchas gracias pondre el Evento que dices Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
BorderLine Posted April 24, 2012 Posted April 24, 2012 function bot() BOSS = spawnBot ( 1088.0643310547, 1074.5938720703, 10.838157653809, 90, 2, 0, 0, terrorist, 38, "hunting" ) exports.extrahealth:setElementExtraHealth(BOSS,10000) end addEventHandler("onResourceStart",getRootElement(),bot) setTimer(bot,300000,0) intenta eso y el team deberias crearlo en el mismo cript señalando por ser local terrorist = createTeam("Terrorist",255,0,0,) Si algo esta mal que algen corrija 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
Plate Posted April 24, 2012 Author Posted April 24, 2012 muchas gracias yakuza y alex me podrian decir como hacer que de exp o zombie kill por lo menos por que yo lo ago con los slothbots Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
BorderLine Posted April 24, 2012 Posted April 24, 2012 osa onBotWasted y para zombie onZombieWasted 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
Plate Posted April 24, 2012 Author Posted April 24, 2012 ok muchas gracias Yakuza Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Plate Posted April 24, 2012 Author Posted April 24, 2012 jaja perdon pero no entendi como usarlo me podrias dar un ejemplo porfavor Visita Full GameZ DayZ Mod Server IP: mtasa://158.69.125.144:29015
Alexs Posted April 25, 2012 Posted April 25, 2012 jaja perdon pero no entendi como usarlo me podrias dar un ejemplo porfavor debes usar call --para llamar las funciones y eventos de slothbot y onBotWasted --Es el evento de cuando un ped muere, cuando esto pasa pones un set timer y una funciona para que aparezca otro... Developer @ MYVAL
Recommended Posts