-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
يا حبيبي كمل في الموضوع السابق لاتفتح موضوع جديد
-
local object = createObject(table[math.random(#table)],-713,957,11,90,0,0)
-
FROM VERSION 1.4 ONWARDS.
-
The script already get the positions of all markers in the server and draw the line by itself you don't need to get it manually. There's only one problem with alpha within 50p code. local color = tocolor( getMarkerColor( marker ) ) Change to: local r, g, b = getMarkerColor( marker ) local color = tocolor( r, g, b, 255 )
-
متأكد كامل؟ جرب ذا local screen = { guiGetScreenSize() } local w, h = 173, 215 local x, y = (screen[1] - w) / 2, ( screen[2] - h ) / 2 GUIEditor = { gridlist = {} } window = guiCreateWindow( 307, 173, 173, 215, "Support Team", false) guiSetVisible(window, false) guiSetProperty(window, "CaptionColour", "FF01B5B3") GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 154, 184, false, window) guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.9) for i = 1, 10 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "-", false, false) function guiAddInterpolateEffect(...) return call(getResourceFromName("GIE"), "guiAddInterpolateEffect", unpack({...})) end bindKey("F5", "down", function() local isVisible = guiGetVisible(window) if isVisible then local cx, cy = guiGetPosition(window, false) local cw, ch = guiGetSize( window, false) guiAddInterpolateEffect(window, cx, cy, cw, ch, 0, 0, 0, 0, 2, "Linear", "Linear", false) else guiAddInterpolateEffect(window, 0, 0, 0, 0, x, y, w, h, 2, "Linear", "Linear", true) end showCursor(not isVisible) end)
-
exports.scoreboard:addScoreboardColumn("Score") addEventHandler("onPlayerWasted", root, function(_, attacker) if (attacker and getElementType(attacker) == "player") and (attacker ~= source) then local sScore = getElementData(source, "Score") or 0 local aScore = getElementData(attacker, "Score") or 0 setElementData(source, "Score", sScore-1) setElementData(attacker, "Score", aScore+1) end end) function myscore(player) local MyScore = getElementData(player, "Score") or 0 outputChatBox("Your score is "..tostring(MyScore), player, 0, 255, 0) end addCommandHandler("myscore", myscore)
-
الحين انت تفكر ملف البي اتش بي وين ترفعه؟ ض1 ملف بي اتش بي ترفعه على موقع و تحط الرابط بالمود
-
ايش الي مو واضح فيه؟
-
لك خبره في بي اتش بي بالأخير ما تعرف تسوي الملف؟ MTA SDK في صفحة الويكي حاط كود بي اتش بي و يبيك تحطه في ملف و ترفعه على موقع و طبعاً لازم ترفع معه
-
myGate2 = createObject(980, 489.5, -2499.1, 3.1, 0, 0, 90) function openMyGata(player) moveObject(myGate2, 1500, 489.5, -2499.1, -3.1) exports['topbarchat']:sendClientMessage("تم فتح البوابة ", player, 255, 255, 255, true) triggerClientEvent(player, "ee", player) end addCommandHandler("O", openMyGata) function movingMyGataBack() moveObject(myGate2, 1500, 489.5, -2499.1, 3.1, 0, 0, 0 ) exports['topbarchat']:sendClientMessage("تم إغلاق البوابة ", player, 255, 255, 255, true) triggerClientEvent(player, "ee", player) end addCommandHandler("C", movingMyGataBack) addEvent("ee", true) addEventHandler("ee", root, function() playSound("abu1.mp3") end)
-
https://wiki.multitheftauto.com/wiki/SmoothMoveCamera
-
I didn't understand what you mean, try to explain better?
-
You can't use the client side to draw the text. You must use the server side text function which i already gave you ready code in your previous topic. https://forum.multitheftauto.com/viewtopic.php?f=91&t=76940
-
You didn't put the file extension and you don't need 'directory' folder huh!
-
Hey there! No one will be able to help you all I know that your script is 'different' and you have database file uploaded at 'PHPMyAdmin' and you asking 'what to do next', so how we know what kind of database you have? Go ahead and figure out that yourself. https://wiki.multitheftauto.com/wiki/dbConnect https://wiki.multitheftauto.com/wiki/Modules/MySQL https://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL
