Jump to content

Zsoltisz

Members
  • Content Count

    43
  • Joined

  • Last visited

Everything posted by Zsoltisz

  1. You need a fuel-system.
  2. Yepp. Works. Thanks a lot But now. I need to draw this with dxDrawText and row. Like this: How can i make it? BTW. Can i made this script in server side?
  3. Oookay. It's still working. But i got some problem. Please help me. Code: function asd (message,level,file,line) if exports.StarMTA_core:Fejleszto(localPlayer) and level == 1 then outputChatBox("#7CC576[StarMTA-Debugscript]: #FF3333ERROR:#FFFFFF"..message.." (#FFA500"..line.."#FFFFFF)",255,255,255,true) end end addEventHandler ("onClientDebugMessage",getRootElement(),asd) Debugscript: ERROR:StarMTA_debugscript\client.lua:3 attempt to concatenate local 'line' (nil value)
  4. This script is client sided.
  5. I translate it i f exports.core:isPlayerDeveloper() then
  6. I try this but it's dont working. What's the prob? addEventHandler ("onClientDebugMessage",getRootElement(), function(message,level,file,line) if exports.StarMTA_core:Fejleszto(thePlayer) then outputChatBox (message) end end) I just type for outputChatBox because i want to test first.
  7. http://kepfeltoltes.hu/161015/461313452N_vtelen_www.kepfeltoltes.hu_.png I mean this.
  8. Thank you very much my friends!
  9. Okay. It's looks hard How can i get the errors from scripts?
  10. Yeah. And can i color this with HEX Codes?
  11. How? With outputDebugString?
  12. Hello guys. Can I change the debugscript colors? It's just an idea. I see in video and i see the debugscript is create with dxDrawText. How can i do it?
  13. the gui editor give you a local strings. Paste this too.
  14. Zsoltisz

    Namtags

    Hello guys I got error in this script. please help me. ERROR:names/nametags.lua:75:attempt to perform arithmetic on local "sy" (a nil value) local myfont = "" local nametags = { } local nevekbe = false -- settings local _max_distance = 300 local _adminszoli_tavolsag = 20 local _adminszoli_textsize = 1.3 local _min_distance = 7.5 local _alpha_distance = 20 local _nametag_alpha = 170 local _bar_alpha = 300 local _scale = 0.2 local _nametag_textsize = 1.5 local _chatbubble_size = 15 local _bar_width = 40 local _bar_height = 6 local _bar_border = 1.2 local _, screenY = guiGetScree
  15. Zsoltisz

    Admin logo

    Working perfectly! I love you :* Thank you very much.
  16. Zsoltisz

    Admin logo

    Sorry for i type again But i see my logo too again but i added this code. Here is the full code: function Fejleszto_Duty() local tag = dxCreateTexture("Duty/Fejleszto_Duty.png") local players = getElementsByType("player") for _,player in pairs(getElementsByType'player')do local adminduty = getElementData (player, "adminduty" ) if (exports.StarMTA_core:Fejleszto(player) and adminduty == 1 and getElementAlpha(player) == 255 ) then dxDrawImageOnElement(player,tag,20,1) -- adjust 2.3 to how high you want the image ofer the player if players[_] ~= localPlayer then end
  17. Zsoltisz

    Admin logo

    Okay. Thank you my friend. Have a nice day
  18. Zsoltisz

    Admin logo

    Yeah!! Working. But now i see my logo too. How can i disable it?
  19. I fixed it! Delete this post..
  20. Hi guys. I made this script but i go in adminduty i don't the name, but when i go out in adminduty i see the names. What the prob? local nametag_alpha = 1000 local jatekosid = getElementData ( player, "playerid" ) local adminduty = getElementData ( player, "adminduty" ) if adminduty == 0 then dxDrawText(getPlayerNametagText( player ).." #7cc576("..jatekosid..")", sx, sy+10, sx, sy+10, tocolor( 255, 255, 255, nametag_alpha ), scale * _adminszoli_textsize, 'default', 'center', 'bottom',false,false,false,true ) elseif exports.StarMTA_core:Fejleszto(thePlayer) then local adminrang = export
  21. Zsoltisz

    Admin logo

    ahh. It's don't working for me :((
  22. Zsoltisz

    Admin logo

    That's the full code :DDDD Maybe this is the problem?
  23. Zsoltisz

    Admin logo

    Nothing... I don't see nothing prob with this.
  24. Yeah!! Working. Thank's my friend!
×
×
  • Create New...