MTA Team 0xCiBeR Posted December 22, 2013 MTA Team Posted December 22, 2013 Gracias de antemano --NEMEORIGINAL local hillRadar = createRadarArea ( 2520.1318359375, -953.83752441406, 200, 200, 181, 0, 0, 255 ) setElementData (hillRadar, "zombieProof", true) function neme ( ) nemesi = exports [ "slothBot" ]:spawnBot ( 2622.4934082031, -847.33459472656, 75.048431396484, 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) setElementModel ( nemesi, 312 ) setElementData (nemesi, "boss", true) outputChatBox ("#9E0000Nemesis Containment Alert!",getRootElement(), 255, 255, 255, true ) local myBlip = (createBlipAttachedTo ( nemesi, 0 )) exports.extra_health:setElementExtraHealth(nemesi, 1000) end addEventHandler("onResourceStart", resourceRoot, neme) --NEMEUNO function nemeuno ( ) nemeuno = exports [ "slothBot" ]:spawnBot ( 2619.4934082031, -847.33459472656, 75.048431396484, 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) setElementModel ( nemeuno, 312 ) setElementData (nemeuno, "boss", true) exports.extra_health:setElementExtraHealth(nemeuno, 1000) end addEventHandler("onResourceStart", resourceRoot, nemeuno) --AGREGADOS function money (theKiller) if getElementData(source,"boss")==true then local premio = math.random(1000,5000) local oldZcount = getElementData ( theKiller, "ZombKill" ) setElementData ( theKiller, "ZombKill", oldZcount+25 ) givePlayerMoney(theKiller,premio) outputChatBox ( getPlayerName ( theKiller ) .. " #081DBFMato al Boss!, Ha Ganado $".. premio .." como recompensa y #66000025 Zombie Kill",getRootElement(), 255, 255, 255, true ) if source == nemesi then setTimer(neme, 16000, 1) end if (not isElement(nemeuno)) then setTimer(nemeuno, 16000, 1) end end end addEvent("onBotWasted", true) addEventHandler("onBotWasted", getRootElement(), money) DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
Castillo Posted December 22, 2013 Posted December 22, 2013 Algun error? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MTA Team 0xCiBeR Posted December 22, 2013 Author MTA Team Posted December 22, 2013 Ninguno Tenia algunos pero ya los corregi..Ese script no da errores DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
Recommended Posts