-
Posts
169 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Mr.Hugin
-
Yes, you do not have to open a panel, but now you have the buttons that light up. Try this and you will know for yourself
-
local sx,sy = guiGetScreenSize();--1920,1080 local relx,rely = sx/1920,sy/1080; ----------- IsCardShop = false local money = getPlayerMoney(localPlayer) local Cardlist = { [1] = {411, "Jogosítvány", 1000}, [2] = {482, "Jogosítvány", 10000}, }; color = tocolor(255, 0, 0, 255) ----------- function Panel() if IsCardShop == true then dxDrawRectangle(sx*.35, sy*.35, sx*.30, sy*.05, tocolor(0, 0, 0, 200))--Fejléc dxDrawText("Jogosítvány", sx*.50, sy*.035, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat dxDrawRectangle(sx*.35, sy*.40, sx*.30, sy*.20, tocolor(30, 40, 50, 250))-- panel dxDrawRectangle(sx*.40, sy*.47, sx*.06, sy*.05, color1 or color)--gomb1 dxDrawText("Megvétel", sx*.36, sy*.27, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat dxDrawText("Legális 1000$", sx*.36, sy*.19, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat dxDrawRectangle(sx*0.55, sy*0.47, sx*0.06, sy*0.05, color2 or color)--gomb1 dxDrawText("Megvétel", sx*.66, sy*.27, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat dxDrawText("Ilegális 10000$", sx*.66, sy*.19, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat dxDrawText("Összeged: "..money.."$", sx*.52, sy*.40, sx*.50, sy*.72, tocolor(200, 200, 200, 255), relx*2, rely*2, "default-bold", "center", "center", false, false, false)--Felirat ----------- function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) return ( ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) ) end ----------- if isMouseInPosition(sx*.40, sy*.47, sx*.06, sy*.05) then color1 = tocolor(88, 0, 0, 50) else color1 = color end ----------- if isMouseInPosition(sx*0.55, sy*0.47, sx*0.06, sy*0.05) then color2 = tocolor(88, 0, 0, 50) else color2 = color end end end ----------- function OpenWindow() IsCardShop = not IsCardShop if removeEventHandler("onClientRender", root, Panel) then removeEventHandler("onClientRender", root, Panel) showCursor(false) else addEventHandler("onClientRender", root, Panel) showCursor(true) end end bindKey("F3", "down", OpenWindow) try this
-
function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) return ( ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) ) end ------------ color = tocolor(0, 0, 0, 180) --Here is the color of the button I made ------------ dxDrawRectangle(sx*.40, sy*.47, sx*.06, sy*.05, color1 or color, false) --gombl ------------ if isMouseInPosition(sx*.40, sy*.47, sx*.06, sy*.05) then color1 = tocolor(88, 0, 0, 50) --And here you put any color when the mouse touches the button, a color appears else color1 = color end try this
-
I don't understand what you want to do
-
This is beautiful, well done Nice
-
مارح حد يقدر يسوي لك مودات أله بمقابل ولعبه قليل صار فيها المبرمجين فه دور في Multi Theft Auto | Community بتحصل يلي بدك أياه واذا ماقدرت وفي اشياء ماعرفتها اسأل في دسكورد العبه https://discord.com/invite/mtasa
-
ممكن المود فيهو مشاكل عشان كذا بخرج العب من لعبه او ان مود تسجيل بكون ثقيل فه في اجهزا ماتتحمل
-
مابعرف شو بدي اقلك بس في شوي اغلاط بلمود شوف هاذا ممكن يفيدك
-
-- server side connection = dbConnect("sqlite", "database.db") dbExec(connection,"CREATE TABLE IF NOT EXISTS MessageSaver3 (serial, text, playername)") addEvent("TheTextWrittenInEditBox",true) addEventHandler("TheTextWrittenInEditBox",root, function ( TextInEditBox ) local playerName = getPlayerName(source) triggerClientEvent(root,"AddToTheGridForAllPlayers",source, TextInEditBox, playerName )-- send it back with the same message and player name end ) addEvent("InsertIntoDataBase",true) addEventHandler("InsertIntoDataBase",root, function ( TextInEditBox, playerName ) if (#database == 0 ) then executeSQLQuery(connection,"INSERT INTO MessageSaver3(serial, text, playername) VALUES(?, ?, ?)", getPlayerSerial(source), TextInEditBox, playerName ) end end ) addEvent("GetTheDataFromBase",true) addEventHandler("GetTheDataFromBase",root, function ( ) local selectt = executeSQLQuery(connection,"SELECT * FROM MessageSaver3 WHERE serial=?", getPlayerSerial(source) ) if (#selectt ~= 0) then for _,v in ipairs (selectt) do local SavedText = v.text local SavedPlayerName = v.playername triggerClientEvent(source,"ReturnDataFromBaseToWindow",source, SavedText, SavedPlayerName )-- send the data to gridlist end end end ) جرب كذا بس لازم تعدل اشياء كمان بس بدي اعرف كمان اي واحد يرسل رساله للسيرفر يعني نص
-
addEventHandler("onResourceStart", resourceRoot, function() marker = createMarker(, 'cylinder', 1.0, 255, 255, 255, 255) --Don't forget to set the marker's coordinates setElementInterior(marker, 6) end) try this I don't understand what you want, but this will help you This is just an example you can complete it
-
السلام عليكم ورحمة الله وبركاتة اليوم حبيت اجيب لكم مود المسج غير مشفر صوره للمود تفضل الرابط https://community.multitheftauto.com/index.php?p=resources&s=details&id=18713 اتمنه يعجبكم ولاتنسونه من تعليقاتكم الجميله
-
addEventHandler ( "onVehicleStartEnter", root, function(player,seat) if getElementModel ( source ) == 409 and seat == 0 then if getElementType( source ) == "player" then if not (isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(client)), aclGetGroup ( "VIP Diamante" ) )) then cancelEvent() outputChatBox("O veículo "..getVehicleNameFromModel(409).." é exclusivo para jogadores VIPs",player,255,0,0,false) end end end end ) try this
-
السلام عليكم ورحمه الله وبركاتة اليوم جبت لكم مود اخفاء التاب لتكتيك ممكن في ناس تدور علي هاذا المود ومابعرف اذا كان موجود وله لا تفضلو هاذي صوره للمود التاب التكتيك طيب ندخل علي رابط ومانطول عليكم https://community.multitheftauto.com/index.php?p=resources&s=details&id=18730
-
You must delete the game from the system and download from the site there are problems with mta files https://multitheftauto.com/ And make sure there are no viruses in the system because it says the master file is a possible virus activity
-
Tapleto-Host| Linux/Windows VPS - Game Servers - TeamSpeak
Mr.Hugin replied to TAPL's topic in الاستضافات
صراحه اهنيك علي الأستضافه جميله جدا -
I tried this says host is invalid I do not understand what your problem is, but you can review the hosting from which you purchased the server
-
What is the problem you are facing? If you mean the virus, you must have an antivirus program, and then you can scan the computer and remove all viruses This will be better if your game does not work, you can remove the game and download it again What matters is the antivirus program
-
good
- 6 replies
-
- 1
-
- fuel system
- script gasolina
-
(and 3 more)
Tagged with: