Jump to content

Overkillz

Members
  • Posts

    545
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Overkillz

  1. Proble fixed, close the thread please
  2. Yes, it doesnt work. When I join to my server, I didnt get redirect to the other server.
  3. Dear MTA User's IDK why redirect players doesnt work see: - meta.xml "MTA" type="script" version="1.0"/> - redirectxd.lua addEventHandler ('onPlayerJoin', root, function () redirectPlayer (source, '000.000.000.00', 22003) end ) I put a random IP to don't get my Own I hope you can help me Regards.
  4. I think everyone who play Skotinka - Party Rock see the block where he must take the Sadking The problem is, on some maps, there are blocks where the people can go, these block shouldnt be here, but IDK what happen with this, and if someone tell me (Maybe the map has made like it) No, that block there isnt when I restart the server.
  5. Hey all, recently im getting a bug on many but many maps What is the bug ? Many maps has a building like this photo: http://puu.sh/6A1RN.png Really this bug is fixed for some hours if I restarted the server but I cant be restarting the server many times, my players get bored and gone to other server ... These are my resources ON: http://puu.sh/6A24d.png incluide the votemanager I wait your answer and help, thanks. Edit: Sorry for script section, I didnt saw it.
  6. Hey all, today I got a problem. I was mapping in my local server, when I got crashed (IDK why) but the problem is, when I open my map how with race mode, all the things work fine, but when I open with editor, Many of that things are missing. I reinstalled the server and still ocurring the same problem. Things I tried. - Change the name of folder and .map (Editing the meta.xml too) - Send to my friend the map (persist the problem) I need help please, I need help please. My Skype: dani-bolivia. Regards.
  7. Problem solved, witha friend and debugscript we could fix this. Thanks. - Request to close
  8. Hi all, I want to make a map info, then, i took this from a race (Map info) and doesnt work: function sendClientMapInfo(hunterReached,mapRate,ratedTimes) huntersReached = hunterReached mapRates = mapRate ratedTimess = ratedTimes end addEvent("sendClientMapInfo",true) addEventHandler("sendClientMapInfo",getLocalPlayer(),sendClientMapInfo) local name, author, lastTimePlayed, playedCount local startTick local month = {"January","February","March","April","May","June","Juli","August","September","October","November","December"} local screenWidth, screenHeight = guiGetScreenSize() local endPosition = screenHeight-140 function timestampToDate(stamp) local time = getRealTime(stamp) return string.format("%d %s %02d:%02d",time.monthday,month[time.month+1],time.hour,time.minute) end function handleMapInfo(mapInfo) name = mapInfo.name or "Unknown" author = mapInfo.author or "Unknown" lastTimePlayed = timestampToDate(mapInfo.lastTimePlayed) or "Unknown" playedCount = tostring(mapInfo.playedCount or "Unknown") maprate = mapRates or "-" ratedtimes = ratedTimess or "0" position = screenHeight+90 movePosition = 5 tickCount = 0 alpha = 0 infotop = "" infodown = "" addEventHandler("onClientRender",getRootElement(),drawMapInfo) end addEvent("onClientMapStarting",true) addEventHandler("onClientMapStarting",getRootElement(),handleMapInfo) function drawMapInfo () if tickCount == 0 then infotop = "#383535Map" infodown = name elseif tickCount == 150 then infotop = "#383535Author" infodown = author elseif tickCount == 300 then infotop = "#383535Played Count" infodown = playedCount -- elseif tickCount == 450 then -- infotop = "#ffff00Last Time Played" -- infodown = lastTimePlayed -- elseif tickCount == 600 then -- infotop = "#ffff00Rate" -- infodown = maprate.."/20" end tickCount = tickCount+1 if tickCount >= 125 then position = position +2.5 end if tickCount > 150 then position = position -5 end if tickCount > 175 then position = position +2.5 end if tickCount > 275 then position = position +2.5 end if tickCount > 300 then position = position -5 end if tickCount > 325 then position = position +2.5 end if tickCount > 425 then position = position +2.5 end -- if tickCount > 450 then -- position = position -5 -- end -- if tickCount > 475 then -- position = position +2.5 -- end -- if tickCount > 575 then -- position = position +2.5 -- end -- if tickCount > 600 then -- position = position -5 -- end -- if tickCount > 625 then -- position = position +2.5 -- end -- if tickCount > 725 then -- position = position +2.5 -- end if tickCount > 450 then removeEventHandler("onClientRender",getRootElement(),drawMapInfo) end if position == endPosition then movePosition = 0 end alpha = alpha + 5 if alpha > 255 then alpha = 255 elseif alpha < 0 then alpha = 0 end local heighResize = dxGetFontHeight(1.15, "default-bold") --Top Text dxDrawingColorText ( infotop,screenWidth/2,position-movePosition+heighResize*10,screenWidth/2,position-movePosition+heighResize*6, tocolor(255,255,255,alpha), alpha, relativeScale(screenHeight)*2, "default-bold", "center", "bottom", false, false, false ) --Down Text dxDrawingColorText ( infodown,screenWidth/2,position-movePosition+heighResize*10,screenWidth/2,position-movePosition+heighResize*7.5, tocolor(255,255,255,alpha), alpha, relativeScale(screenHeight)*2, "default-bold", "center", "bottom", false, false, false ) position = position - movePosition end function stopDrawInfo() removeEventHandler("onClientRender",getRootElement(),drawMapInfo) end I have only this and the meta This should show this: What is the problem ?
  9. Work perfectly, now I want to change the font from server info: to this: IDK if is dxscoreboard_client or dxscoreboard_clientsettings If is possible, tell me the line. Thanks again
  10. Working perfectly, but i prefer the color for default be tocolor(255,255,255) What i need to do for change the font ? textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", true, true, true, true) textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", true, true, true, false) Is here ?
  11. Doesnt work dxDrawText ( getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(0,0,0,255), textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", true, true, true, true) dxDrawText ( getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", true, true, true, true) mmm IDK why it doesnt work.
  12. Thanks for all, all working correctly, but now i want to see the tag colour from others user, i can´t see. dxDrawText ( getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", false, false, false ) Need to bee this ? dxDrawText ( getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", true, true, true) ? Regards.
  13. Will be how this ? dxDrawText(self.strText, l + offsetX, t + offsetY, r + offsetX, b + offsetY, tocolor(att2, att3, att4, att5), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI ) end end end end elseif type == "shadow" then local shadowDist = att1 att2 = att2 or 0 att3 = att3 or 0 att4 = att4 or 0 att5 = att5 or self.tColor[4] dxDrawText(self.strText, l + shadowDist, t + shadowDist, r + shadowDist, b + shadowDist, tocolor(att2, att3, att4, att5), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI ) end dxDrawText ( self.strText, l, t, r, b, tocolor(unpack(self.tColor)), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI ) IDK how I could get only this: - gsub( '#%x%x%x%x%x%x', '') or this - ,255,255,255,true) Regards.
  14. thanks for all but, Can u tell me where i can find it ? I started on this 1 month ago and Im only living with addons
  15. How i can give color to this word " Map: " g_dxGUI['travelText2']:text(mapName and "[color=#FF0000]Map:[/color] " .. mapName or "") I wait your answer, thanks for all Regards.
  16. I have a problem, I want to find Race Top Times and Times played. I restarted my server and all times played was deleted and Race Top Times. I need to save it please. Regards.
  17. Hi to all, I have a problem on my server Race "DM" and when someone want to register in the server, they can´t register I think is for this Error, when i refresh the consoles, there is only one problem: ERROR: Couldn´t find script server/admin_acl.lua for resoruce admin2 Loading on resource "admin2" failed Admin resource is working correctly: Please help me, soon i will add a panel and will be with registering I wait ur answer, and if it possible, send me that file with where i need to put it. Regards.
×
×
  • Create New...