Hyper2

Members
  • Content count

    36
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hyper2

  • Rank
    Rat

Details

  • Gang
    MTA

Recent Profile Visitors

169 profile views
  1. Help

    Hello community Where i can change this messages ACL: Acces denied for restart You succesfully logged in And when i press ' T " i get this text ' Say ' How can i change it too
  2. Text bug

    Guys i have this script function DXdraw() --Variables local screenWidth, screenHeight = guiGetScreenSize ( ) setTimer(function() triggerServerEvent("online",getLocalPlayer()) end, 10000, 1, true) local num = getElementData ( getLocalPlayer(), "numPlayers") local max = getElementData ( getLocalPlayer(), "maxPlayers") max= ' / ' ..max num= ' ONLINE PLAYERS: ' ..num dxDrawText(tostring(num),650, screenHeight - 14, screenWidth, screenHeight,tocolor(154, 149, 143, 252),1.00,"arial") dxDrawText(tostring(max),770, screenHeight - 14, screenWidth, screenHeight,tocolor(154, 149, 143, 252),1.00,"arial") ----------------------------------------------------------------------------------------------------------------------------------------- local ping = getPlayerPing ( getLocalPlayer(), "ping2") end addEventHandler("onClientRender", getRootElement(), DXdraw) And this addEventHandler("onClientRender", root, function() dxDrawRectangle(780, 147, 210, 20, tocolor(0, 0, 0, 193), false) dxDrawText(" #ff0000SERVER NAME #00ff00V3.0 #ffffff|#ff0000Made by:#00ff00Hyper", 776, 147, 990, 167, tocolor(255, 255, 255, 255), 1.00, dxfont0_PetitFormalScript, "center", "center", false, false, false, true, false) end ) When i change my MTA resolution, Their positions change and some of players can't even see them What should I do to put them in one place and see all the players in that place, even if they change thier resolutions
  3. Shoutall problem

    Dude how to add wordwrap?? i changed this dxDrawText(shoutText, screenX/2, screenY/4, screenX/2, screenY/4, tocolor(220, 20, 20, 220), 2, "bankgothic", "center", "center", ) To this dxDrawText(shoutText, screenX/2, screenY/4, screenX/2, screenY/4, tocolor(220, 20, 20, 220), 2, "bankgothic", "center", "center", false, true, false, false, false) But nothing happened
  4. Shoutall problem

    Thanks you very much but please remove it from community
  5. Shoutall problem

    Okay bro thanks very much To understand more like this https://imgur.com/a/Rc5h3kW
  6. Shoutall problem

    Yeah, and my name appears on the screen Font: bankgothic Like Hyper2: Welcome everyone
  7. Shoutall problem

    But i'm begginer idk how can you help?
  8. Shoutall problem

    Damn i tried that but nothing happened, maybe i wroted it with wrong brother please i wan't to change this code textItem = textCreateTextItem ( message, 0.5, 0.5, 2, 205, 0, 0, 255, 3, "center", "center" ) To this one dxDrawText(getPlayerName(player)..", message", 204, 36, 816, 557, tocolor(255, 255, 255, 255), 2.00, "bankgothic", "center", "top", false, true, false, false, false) But not working Here is the full code function shout ( player, cmd, ... ) local accountname = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then local message = table.concat ( { ... }," " ) local name = getPlayerName(thePlayer) textDisplay = textCreateDisplay ( ) dxDrawText(getPlayerName(player)..", message", 204, 36, 816, 557, tocolor(255, 255, 255, 255), 2.00, "bankgothic", "center", "top", false, true, false, false, false) textDisplayAddText ( textDisplay, textItem ) for _, thePlayer in ipairs ( getElementsByType ( "player" ) ) do textDisplayAddObserver ( textDisplay, thePlayer ) end setTimer ( function ( ) textDestroyTextItem ( textItem ) textDestroyDisplay ( textDisplay ) end ,10000, 1 ) outputChatBox("#ff0000(#FF0040Shoutall#ff0000)"..getPlayerName(player)..": #ffffff"..message.."", root, 255, 255, 255, true) else outputChatBox ( "You cannot use this command!", player, 255, 12, 15 ) end end addCommandHandler ( "shoutall", shout )
  9. Shoutall problem

    Guys i wan't to add this text : #ff0000(#FF0040Shoutall#ff0000) Before this getPlayerName(player).." Here is the code: local name = getPlayerName(thePlayer) outputChatBox(getPlayerName(player).."#ffffff"..message.."", root, 255, 255, 255, true)
  10. مساعدة مشكل تاج

    الأكواد دي احطها في مود التكتيك صح؟
  11. مساعدة مشكل تاج

    قيم مود التكتيك مشفر مش فاهم منه اي شي و الفريروم مقفول
  12. شباب لما اشغل تاج في سيرفر تكتيك تبعي لما أكتب بالشات تضهر ورتين الكتابة ليش؟ و شكرا
  13. mute problem

    You are right bro thank you very mch
  14. mute problem

    What did you added other than you puted this code local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then Because i added the same code at the same place you putted and nothing happened
  15. chatsound

    OMG i did not see it thank you