Jump to content

bandi94

Members
  • Posts

    1,037
  • Joined

  • Last visited

Everything posted by bandi94

  1. c'om on you can't make an output and chek user rights and you are a good scripter for RPG for RPG he wan't job's maybe npc drivers bank system etc ...
  2. yes you are very good scripter viewtopic.php?f=91&t=35639
  3. this autoteams was made for my server but I decided to upload it because many people need it and no one else make 1 public i see some but they don't work so be happy to download it , rate and comment here is the resource you will find instructions in resource https://community.multitheftauto.com/index.php?p=resources&s=details&id=2833
  4. i don't have this code i don't need it and this is not a request forum (bk you need it i will not make it i have my own things to do .. ) make a part of code and we will correct the mistakes
  5. you just copy paste it from wiki after you check the messageType check the player acl group and if is admin then .. and if is modelator then ..
  6. you need to set alowcolorednames to true
  7. in acl search and add this for output use client side and ouputChatBox("text",red,green,blue) or on server side outputChatBox("text",theplayer,red,green,blue)
  8. bool createExplosion ( float x, float y, float z, int type [, bool makeSound = true, float camShake = -1.0, bool damaging = true ] ) float camShake must be a number and you put boolean false function onClientPlayerWeaponFireFunc(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if (weapon == 25) then createExplosion(hitX, hitY, hitZ, 12, true, 0, true) end end addEventHandler("onClientPlayerWeaponFire", root, onClientPlayerWeaponFireFunc)
  9. i mean when in Teams i put this Teams={{"Demonic God's Team", "|DGT|", "#0000ff"}} this is 1 team and works fine when i put 2 teams like this Teams={{"Demonic God's Team", "|DGT|", "#0000ff"}, {"THQ", "|THQ|", "#ee00ff"},} its stop working not creating the team's or creates only the secound THQ and put 60% if player on server but they haven't the tag in name i think now you got me
  10. ok its working fine whit 1 team like Teams={ {"Demonic God's Team", "|DGT|", "#0000ff"}, } but when i add 2 team or not working or make just 1 team and put 60% player in it it miss up how can i fix it ? 2 teams like Teams={ {"Demonic God's Team", "|DGT|", "#0000ff"}, {"THQ", "|THQ|", "#ee00ff"}, } thx for all
  11. thx i don't test again my script but i think that need to work or maybe not the problem was i use onResourceStart in paris for all players check(v) and only when next map start players get set in team's and bk that .. but thx
  12. ok now i edited and gaian i am here is the par of script what not work the v returns the player from difrent function like on nickchange join quit ... now no error but again he don't set the team i put after setPlayeTeam output getTeamName(team) to see if he get the team and yes it output the team name so again the setPlayerTeam function gets stuck thx function check(v) for o,data in pairs(Teams) do if string.find(getPlayerName(v),data[2]) then if not isElement(data[1]) then createTeam(data[1], getColorFromString(data[3])) end local team = getTeamFromName(data[1]) setPlayerTeam( v , team) for p,b in pairs(getAttachedElements(v)) do if getElementType(b)=="blip" then setBlipColor ( b, getColorFromString(data[3])) end end else setPlayerTeam(v , nil) end end end
  13. thx Solidsnake14 its working
  14. this 1.1 whit team is f******** no autoteams for 1.1 so i start to make my own but when i see this simpel script not work then the 1.1 the script make's the team and output in chat box the "ok" but to set player team no! no debug error or something Teams={{"Demonic God's Team","|DGT|","#0000ff"}, } function ResourceStart(p) for i,data in pairs(Teams) do if not isElement(data[1]) or getElementType(data[1]) ~= "team" then local team = createTeam(data[1], getColorFromString(data[3])) end if string.find ( getPlayerName(p),data[2]) then setPlayerTeam(p,team) outputChatBox("ok") end end end addCommandHandler("teama",ResourceStart)
  15. use MTA script Editor viewtopic.php?f=91&t=24834
  16. to create only 1 car use local car=true and car=false and check if is true or false and then you got only 1 car (on markerLeave car=false and on marker hit create the car and car=true ) and to put the player in car use warpPedIntoVehicle( theplayer,thecar)
  17. added to admin group and only info on debugscrit added team and moved to team but not creating team no team on scoreboard or admin panel or tag color or blips nothing (i think i am going make my own ) and why need an autoteam admin rights?
  18. function resourceStart () setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) end addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) function giveweapon(player) setPedWeaponSlot ( player, math.random ( 2, 12)) end addEventHandler("onPlayerJoin",root,giveweapon)
  19. UTF-8 is an encoding type MTA 1.05 used ANSI . open the zombie scripts whit notepad and file/save as on save as type you put all files and on Encoding UTF-8.(you need to do this for all script's inside the zombie resource)
  20. nobody will script for you free (or for admin or ..) all scripters are bussy whit own server's, projects so or pay or start learning LUA
  21. i am not shure but i think is a MTA 1.1 team bug not script error/bug bk i check some server what befor have team's .. and not this autoteams resource and now they haven't team so i think is an MTA 1.1 bug(game don;t create set team's for players )
  22. bandi94

    playSound

    i donwloaded that file from radio and in winamp it live stream the radio
  23. hmm tuday MTA get an pach whit name gui skin and team bugs fixed so i think it was a MTA 1.1 bug not autoteam problem i can't test it i need to whait the host to update the server for the new pach
  24. bandi94

    playSound

    yes i am not that beginer that to don't add it to meta
×
×
  • Create New...