StanMarsh Posted May 3, 2013 Posted May 3, 2013 Hola ase Poco me descarge el Boss-System De [COD]Plate Pero tengo un problema Que el Boss Tiene 7 Skins y Quiero Que Sea Solo 1 Y No se Que Hacer gracias. En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
Moderators Cuervo_fi Posted May 3, 2013 Moderators Posted May 3, 2013 muestra el script y te ayudo. Discord: cuervo_fi#9549
StanMarsh Posted May 3, 2013 Author Posted May 3, 2013 muestra el script y te ayudo. Posteo la Meta y el lua? En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
Alexs Posted May 3, 2013 Posted May 3, 2013 En la 8va linea del archivo 'BOSS.lua': slothbot1 = exports [ "slothbot" ]:spawnBot ( 111.79273223877, 1336.3046875, 10.5859375, 90, math.random(300, 303), 0, 0, ex, 38, "hunting", true ) Cambia la parte de 'math.random(300, 303)' por el numero de skin que desees. Developer @ MYVAL
StanMarsh Posted May 3, 2013 Author Posted May 3, 2013 En la 8va linea del archivo 'BOSS.lua': slothbot1 = exports [ "slothbot" ]:spawnBot ( 111.79273223877, 1336.3046875, 10.5859375, 90, math.random(300, 303), 0, 0, ex, 38, "hunting", true ) Cambia la parte de 'math.random(300, 303)' por el numero de skin que desees. Gracias Me sirvio En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
StanMarsh Posted May 3, 2013 Author Posted May 3, 2013 WTF lo probe por 2da ves y me desia esto:Bad Argument @ "addEventHandler" [expected element at argument 2, got function] hay un problema aqui? local colshape = createColRectangle ( 103.88594818115, 1302.0729980469, 220, 200 ) -- estas son las coordenadas donde se va a crear el boss para cambiarlas solamente copien la posicion x e y de su admin panel zombiesMatados = 0 function zona ( ) if ( isElementWithinColShape ( source, colshape ) ) then zombiesMatados = ( zombiesMatados + 1 ) if ( zombiesMatados == 50 ) then if ( not isElement ( slothbot1 ) ) then slothbot1 = exports [ "slothbot" ]:spawnBot ( 111.79273223877, 1336.3046875, 10.5859375, 90, math.random(300, 303), 0, 0, ex, 38, "hunting", true ) exports.extra_health:setElementExtraHealth ( slothbot1, 45000 ) outputChatBox("#FF0000Nemesis:#eeff00S.T.A.R.S!!!", getRootElement(), 155, 155, 155) myBlip = createBlipAttachedTo ( slothbot1, 23 ) end end end end addEvent ( "onZombieWasted", true ) addEventHandler ( "onZombieWasted", getRootElement(), zona ) function restartear ( ) if ( isElementWithinColShape ( source, colshape ) ) then zombiesMatados = 0 end end addEvent ( "onBotWasted", true ) addEventHandler ( "onBotWasted",getRootElement(), restartear ) function autor () outputChatBox("BOSSES creados por [COD]Plate", getRootElement(), 0, 255, 255, true) end addEventHandler("onPlayerJoin", getRootElement, autor) En el foro se me conocia Como alexmercer1998 y Ezio Auditore esta es mi nuevo nombre para que esten informados
MTA Team 0xCiBeR Posted May 3, 2013 MTA Team Posted May 3, 2013 Ponlo asi: local colshape = createColRectangle ( 103.88594818115, 1302.0729980469, 220, 200 ) -- estas son las coordenadas donde se va a crear el boss para cambiarlas solamente copien la posicion x e y de su admin panel zombiesMatados = 0 function zona ( ) if ( isElementWithinColShape ( source, colshape ) ) then zombiesMatados = ( zombiesMatados + 1 ) if ( zombiesMatados == 50 ) then if ( not isElement ( slothbot1 ) ) then slothbot1 = exports [ "slothbot" ]:spawnBot ( 111.79273223877, 1336.3046875, 10.5859375, 90, math.random(300, 303), 0, 0, ex, 38, "hunting", true ) exports.extra_health:setElementExtraHealth ( slothbot1, 45000 ) outputChatBox("#FF0000Nemesis:#eeff00S.T.A.R.S!!!", getRootElement(), 155, 155, 155) myBlip = createBlipAttachedTo ( slothbot1, 23 ) end end end end addEvent ( "onZombieWasted", true ) addEventHandler ( "onZombieWasted", getRootElement(), zona ) function restartear ( ) if ( isElementWithinColShape ( source, colshape ) ) then zombiesMatados = 0 end end addEvent ( "onBotWasted", true ) addEventHandler ( "onBotWasted",getRootElement(), restartear ) function autor () outputChatBox("BOSSES creados por [COD]Plate", getRootElement(), 0, 255, 255, true) end addEventHandler("onPlayerJoin", getRootElement(), autor) DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
Recommended Posts