
bandi94
Members-
Posts
1,037 -
Joined
-
Last visited
Everything posted by bandi94
-
(admin group work fine) this is a new group "acl" and this new group can't use B and set next map
-
thx but this not update the table show points only when a player join and thas all not update .. but i will try it
-
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)
-
Can somebody send me some wankenstein maps ? i will give my email in pm thx for helping
-
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
-
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)
-
i delete it and stil i get killed by presing enter
-
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
-
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
-
stil not working not write get hunter .. and not make the column for scoreboard
-
omg this is first thing what i writ " i have this script not completli made by me " = you make it 90% and i 10%
-
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>
-
yes but i see on 1 DM server when if you pres enter you don't get killed you needed to write /kill
-
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)
-
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
-
and how can i stop kill whit enter?
-
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
-
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
-
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
-
ok i downloaded a txd editor and now were i find the object that road in MTA ?
-
yes recolor and write on the road