Jump to content

bandi94

Members
  • Posts

    1,037
  • Joined

  • Last visited

Everything posted by bandi94

  1. (admin group work fine) this is a new group "acl" and this new group can't use B and set next map
  2. bandi94

    sound

    how can i change a car sound i make a F1 car race i have a F1 car i change it whit infernus now i need to change the infernus sound whit F1 car sound 1 get some F1 car sound thx
  3. bandi94

    fix it pls

    thx but this not update the table show points only when a player join and thas all not update .. but i will try it
  4. bandi94

    fix it pls

    nobody have any idea ?
  5. bandi94

    fix it pls

    i have this script its not 100% made by me i just aded some functions like login points to 0 and ... and only for some players is working the tab menu section (for some players shows the points for another players is not showing ) the srcipt had this problem befor i edit it . can somedoy make a new tab section or something i tryed couple times but i failed meta server side, gived admin rights for sript call(getResourceFromName("scoreboard"),"addScoreboardColumn","Total Win's") function vehicleDetector(pickupID, pickupType, vehicleModel) if pickupType == "vehiclechange" and vehicleModel == 425 then if getPlayerAccount(source) and not isGuestAccount(getPlayerAccount(source)) then increaseAccountData(source) outputChatBox("*HUNTER ALERT: "..getPlayerName(source).." has found the Hunter and get +1 win!",getRootElement(),25,125,225, true) else outputChatBox("*HUNTER ALERT: "..getPlayerName(source).." has found the Hunter, but wasn't logged in, login or register!",getRootElement(),25,125,225, true) end end end addEventHandler("onPlayerPickUpRacePickup",getRootElement(),vehicleDetector) function increaseAccountData(player) if not player then return end local account = getPlayerAccount(player) if not account or isGuestAccount(account) then return end local accountData = getAccountData(account,"hunterPoints") if not accountData then setAccountData(account,"hunterPoints",1) else setAccountData(account,"hunterPoints",tonumber(accountData)+1) end end function updateScoreboardTotalWins() for i,v in pairs(getElementsByType("player")) do local account = getPlayerAccount(v) if not account or isGuestAccount(account) then setElementData(v,"Total Win's","Login!") return end local point = getAccountData(account,"hunterPoints") if not point then setElementData(v,"Total Win's","0") return end setElementData(v,"Total Win's",tonumber(point)) end end setTimer(updateScoreboardTotalWins,1000,0)
  6. Can somebody send me some wankenstein maps ? i will give my email in pm thx for helping
  7. i see some music players for mta . Its posible to play a live stearming radio file ( you download it form the radio website and is like a .mp3 file you put in winamp and winamp live stearm it ) its posible to play that live stearm in MTA
  8. i have this script its not my script every time when somebody get the hunter a text apear and add 1 point( win) to account and show it up on tab menu the problem is that if on server are more that 4-5 players in tab menu the points are showed up crazy. Only some players point are showed up or nothing only the empty coloum ( the text is showed up on thextbox onli the tab menu is buged or hae some problems) pls if somebody can fix it call(getResourceFromName("scoreboard"),"addScoreboardColumn","Total Win's") function vehicleDetector(pickupID, pickupType, vehicleModel) if pickupType == "vehiclechange" and vehicleModel == 425 then if getPlayerAccount(source) and not isGuestAccount(getPlayerAccount(source)) then increaseAccountData(source) outputChatBox("*HUNTER ALERT: "..getPlayerName(source).." has found the Hunter and get +1 win!",getRootElement(),25,125,225, true) else outputChatBox("*HUNTER ALERT: "..getPlayerName(source).." has found the Hunter, but wasn't logged in, login or register!",getRootElement(),25,125,225, true) end end end addEventHandler("onPlayerPickUpRacePickup",getRootElement(),vehicleDetector) function increaseAccountData(player) if not player then return end local account = getPlayerAccount(player) if not account or isGuestAccount(account) then return end local accountData = getAccountData(account,"hunterPoints") if not accountData then setAccountData(account,"hunterPoints",1) else setAccountData(account,"hunterPoints",tonumber(accountData)+1) end end function updateScoreboardTotalWins() for i,v in pairs(getElementsByType("player")) do local account = getPlayerAccount(v) if not account or isGuestAccount(account) then return end local point = getAccountData(account,"hunterPoints") setElementData(v,"Total Win's",tonumber(point)) end end setTimer(updateScoreboardTotalWins,2000,0)
  9. thx now is working fine
  10. i delete it and stil i get killed by presing enter
  11. i don't log out and the wins are not +1 and the hunter alert player reached hunter he get +1 point don't apear i try to disconnect for server re connect login apear on thotal wins 1 and after if i get hunter not get 2 and the text don't apear and if you are not loget in the toatl win is blank noting apear
  12. ok thex now is working but only once for every player when a player get the hunter writ hunter allert ....... and aded 1 point in soceboard but when same player get again the hunter another map no more write and no more point aded
  13. stil not working not write get hunter .. and not make the column for scoreboard
  14. omg this is first thing what i writ " i have this script not completli made by me " = you make it 90% and i 10%
  15. i have this script not completli made by me its loading on my server i start it i don't get errors but the script don't do anithing scoreboard colum or writ the text in chatbox antihing if somebodi can make it work i ask him nicely to help me thx for everybody script function vehicleDetector(pickupID, pickupType, vehicleModel) if pickupType == "vehiclechange" and vehicleModel == 425 then increaseAccountData(source) outputChatBox("*HUNTER ALERT: "..getPlayerName(source).." has found the Hunter and get +1 win!",getRootElement(),25,125,225, true) end end addEventHandler("onPlayerPickUpRacePickup",getRootElement(),vehicleDetector) function increaseAccountData(player) if not player then return end local account = getPlayerAccount(player) if not account or isGuestAccount(account) then return end local accountData = getAccountData(account,"hunterPoints") if not accountData then setAccountData(account,"hunterPoints",1) else setAccountData(account,"hunterPoints",tonumber(AccountData)+1) end end function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Total Win's") end function updateScoreboardTotal Win's() local point = getAccountData(account,"hunterPoints") setElementData(localPlayer,"Total Win's",tonumber(point)) end setTimer(updateScoreboardTotal Win's,1000,0) meta <meta> <script src="addpoint.lua" type="server"/> </meta>
  16. yes but i see on 1 DM server when if you pres enter you don't get killed you needed to write /kill
  17. in my server when somebody pres enter he die on some server you don't die if you pres enter how can i make it ( if i pres enter to don't get killed)
  18. ok i will test it and can you ad to show points in tab menu ? or i will try to make it but i am a noob in scripting
  19. and how can i stop kill whit enter?
  20. hello have sombody a total win script i mean when somebody get the hunter the win +1 and whit datasave or account data save ( when player left game the wins get saved and when the player login again the point load and ...) thx
  21. hello if i tipe /kill and or press enter i die on some server's if i press enter i don't die how can i make to enter no more work on my server thx
  22. i have a server and some good frieand have admin for new clan members i set up a new group and acl but the sperctator mode (B) and set next map not working pls help what right i need to ad or what right i need to make true to work the specator mode (B) and set next map thx here is my configuration
  23. ok i downloaded a txd editor and now were i find the object that road in MTA ?
  24. yes recolor and write on the road
×
×
  • Create New...