Jump to content

Pequeña ayuda


Recommended Posts

Hmmm me recomendaron este script "boss"

https://community.multitheftauto.com/ind ... ls&id=6114

Ya esta, lo que falta que las coordenadas donde quiero que salga no aparece. Segun la imformacion de ese recurso dice. "cambie las coordenadas x e y" pero no se cual es esa direccion "e" yo puse "xyz" pero no aparece y no me tira ningun error.

La pos E no existe. El puso eso para no decir X y Y , le puso X e Y, Z. Ademas Tu no dijiste que querias para un skin del spawn de 50p? Porque eso solo le da la vida al Bot.

Link to comment
Si pero pero en el spawn hay un team llamado "NEMESIS" que edite y parecer-lo como un Evento. pero este recurso es un NEMESIS editado etc. por que yo puse la coordenadas "X Y Z" y no aparecio hay. y el recurso no tira error

Postealo.

Link to comment
local colshape = createColRectangle ( 1478.4755859375, -1639.0927734375, 220, 200 ) 
zombiesMatados = 0 
function zona ( ) 
    if ( isElementWithinColShape ( source, colshape ) ) then 
zombiesMatados = ( zombiesMatados + 1 ) 
if ( zombiesMatados == 1 ) 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, 7500 ) 
outputChatBox("[WARNING] NEMESIS [WARNING] NEMESIS [WARNING]", getRootElement(), 255, 0, 0) 
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 ) 

Al Principio sale. Pero lo que no entiendo es esto

local colshape = createColRectangle ( 1478.4755859375, -1639.0927734375, 220, 200 ) 

Link to comment
Si ya active todo. pero igual no aparece

okei, probà esto . Editalo a tu gusto pero solo lo de arriba

local colshape = createColRectangle ( 1478.4755859375, -1639.0927734375, 400, 400 ) 
  
Team = createTeam ( "NEMESIS", 255, 0, 0 ) 
posX = 0     --tu coordenada X  
posY = 0     --tu coordenada Y 
posZ =  0     --tu coordenada Z 
rotation = 180     --la rotacion que quieras 
ID = 285         -- aqui el id del skin que quieras 
Arma = 38     -- Esta el el arma minigun 
zombiesMatados = 0 
  
function zona ( ) 
    if ( isElementWithinColShape ( source, colshape ) ) then 
zombiesMatados = ( zombiesMatados + 1 ) 
if ( zombiesMatados == 1 ) then 
if ( not isElement ( bot ) ) then  
     bot = exports [ "slothbot" ]:spawnBot ( posX, posY, posZ, rotation, ID, 0, 0, 0, Team, Arma, "hunting", true ) 
     exports [ "extra_health" ]:setElementExtraHealth ( bot, 7500 ) 
         outputChatBox("[WARNING] NEMESIS [WARNING] NEMESIS [WARNING]", getRootElement(), 255, 0, 0) 
              blip = createBlipAttachedTo ( bot, 23 ) 
              end 
         end 
     end 
end 
addEvent ( "onZombieWasted", true ) 
addEventHandler ( "onZombieWasted", getRootElement(), zona ) 
Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...