Jump to content

help nemesis


Jacobob14

Recommended Posts

Posted (edited)

as I can make nemesis

spawn in the radararea :(

local area = createRadarArea (  -50.9951171875, 1996.4365234375, 400, 400, 141, 7, 220, 175 ) 
  
local Nemesis = createTeam("Nemesis",141,7,220) 
  
local nemesisBots = {} 
function BossNemesis ( thePlayer ) 
local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
    if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then 
        for i=1, 10 do 
            local x, y, z = getElementPosition ( thePlayer ) 
            nemesisBots[i] = exports [ "slothBot" ]:spawnBot ( x+i,y+i,z+(i/2), 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) 
            exports.extra_health:setElementExtraHealth ( nemesisBots[i], 150 ) 
            setElementModel ( nemesisBots[i], 107 ) 
        end 
    end 
end 

Edited by Guest
Posted

if you tell in english then I can help maybe :)

WANT SCRIPTS? I SELL LIKE AN ANIMATED CUSTOMISED GUI FOR 5USD AND AN RPG GAMEMODE FOR 30USD ONLY. IF YOU NEED SPECIAL SCRIPTS THEN I SELL EACH FOR 5 USD.

Posted

You want to spawn these bots inside the radar area, but they are spawning outside of it?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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