Jump to content

001

Members
  • Posts

    122
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by 001

  1. 001

    help bots script

    --[[function boss (player,comando,weaponid,skinid) local x,y,z = getElementPosition(player) slothbot1 = exports [ "slothbot" ]:spawnBot ( x,y,z , 90, tonumber(skinid), 0, 0, ex, tonumber(weaponid), "hunting", true ) end addCommandHandler("spawnbot",boss)]] ex = createTeam("STAFF",255,0,0) function boss (player,comando,weaponid,skinid) local x,y,z = getElementPosition(player) slothbot1 = exports [ "slothbot" ]:spawnBot ( x,y,z , 90, tonumber(weaponid), 0, 0, ex, tonumber(skinid), "hunting", true ) end addCommandHandler("spawnbot",boss) function pauseBot (player,command,state) local allBots = getElementsByType ( "ped" ) for index, boss in ipairs(allBots) do if ( exports [ "slothbot" ]: getBotAttackEnabled ( boss ) == false ) then exports [ "slothbot" ]: setBotAttackEnabled ( boss, true ) elseif ( exports [ "slothbot" ]: getBotAttackEnabled ( boss ) == true ) then exports [ "slothbot" ]: setBotAttackEnabled ( boss, false ) end end end addCommandHandler("pausebot",pauseBot) function restartBot (ped,commando) local allBots = getElementsByType ( "ped" ) for index, boss in pairs(allBots) do killPed(boss) end end addCommandHandler("rbot",restartBot) function rewardOnWasted ( ammo, killer, killerweapon, bodypart ) if ( killer ) and ( killer ~= source ) then givePlayerMoney ( killer, 150 ) end end addEventHandler ( "onPedWasted", getRootElement(), rewardOnWasted ) function info(player) outputChatBox("Syntaxis : /spawnbot SkinID - WeaponID",player,255,0,0) outputChatBox("Example : /spawnbot 24 0",player,255,0,0) end addCommandHandler("botinfo",info) this is the script and my question about this line. ex = createTeam("STAFF",255,0,0) am asking what to do if i already have team ? and i want make the bots dont harm me if i went to this team and the another question how i can make it with two teams i mean if i put my self in certain teams i chose them i wont die anyone help me please
  2. Our Discord As I said in the video i would like to thank @specahawk aka luca and @Necktrox for Their Support & Help
  3. Am looking for Developer in UDC to help us in releasing the server as the title says non-paid thanks in advance
  4. english nvm delete this i will make new topic cant edit the title....
  5. 001

    node.js

    i read it btw
  6. 001

    node.js

    how to run something with node.js ? can anyone tell me ?
  7. nvm about the past replies i've problem now and its the socket module anyone explain it to me please
  8. 001

    socket module

    while am downloading socket module 32 https://wiki.multitheftauto.com/wiki/Modules/Sockets it tells me it will harm my pc
  9. 001

    Discord & MTA

    i read all of it before and i didn't understand anything its Show he didn't explain anything.
  10. also can u tell me what to do step by step to connect it to MTA ? i cant understand ur video
  11. @specahawk what to do if i dont want to appear the team name i mean in the video your team was Founders @discord and when you typed This is the message (Discord) (Founders) (Yourname): text now how to dont appear " FOunders " the team name
  12. 001

    Discord & MTA

    Hey There, i would like to know How to Make Discord Channel Connected to my MTA Server Or IRC channel hope you help me !
  13. 001

    Difference 

    `when u try to host server they ask you to choose from FTP or MySQL
  14. 001

    Hosting

    Hey Anyone tell me free hosting way i'm searching for free way from 6 hours and i didn't find and the most popular website "gameserver-sponsor" is currently down also tell me if there is any host payments with SMS for tunisia
  15. 001

    Difference 

    what is the Difference between MySQL and FTP ?
  16. Settings > binds > reset them
  17. 001

    host

    why Tunisian players cant buy host ?
×
×
  • Create New...