Jump to content

-ffs-AbodyRulez

Members
  • Content Count

    60
  • Joined

  • Last visited

Community Reputation

0 Neutral

About -ffs-AbodyRulez

  • Rank
    Snitch
  • Birthday 30/11/1991

Details

  • Gang
    |FFS|Gaming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. يعني يكون كأنو فعلا "حبل" وبسماكة معينة, لو تلاحظ في الصورة طالع مسطح
  2. السلام عليكم, البوست متكرر في القسم الانجليزي بس ماحد رد. هل ممكن تحويل الخط الى مجسم دائري بسمك معين ؟ الكود الحالي local img = dxCreateTexture("test.png") dxSetTextureEdge(img,"mirror") addEventHandler("onClientRender", root, function() x, y, z = getElementPosition(localPlayer) dxDrawMaterialLine3D (x,y,z,0,0,15,img, 0.5) end)
  3. Sure, contact me on abdullah.exe@gmail.com
  4. Is it possible to make this line spherical than flat? local img = dxCreateTexture("test.png") dxSetTextureEdge(img,"mirror") addEventHandler("onClientRender", root, function() x, y, z = getElementPosition(localPlayer) dxDrawMaterialLine3D (x,y,z,0,0,15,img, 0.5) end)
  5. local ID = dbExec(db, "SELECT LAST_INSERT_ROWID() FROM joinHistory") this returns false for me, even though the database isn't empty. i'm trying to create an auto_increment column, but just found out that sqlite doesn't support auto_increment, it's only supported by MySQL. any help?
  6. Sorry for bumping this up, but i've been trying to create an Auto_increment column, tried to follow your method, but i keep getting an error dbExec failed, syntax error, any ideas?
  7. You lost me there. Here is the complete code for creating window and tabpanel. local guiWidth, guiHeight, centerX, centerY, tCenterX, tCenterY, tabWidth, tabHeight = 0 local tabPanel, monthsTab, daysTab, hoursTab, minutesTab, permTab = nil local window = nil function GUI() guiWidth, guiHeight = 0.6, 0.6 centerX, centerY = (1 / 2) - (guiWidth / 2), (1 / 2) - (guiHeight / 2) tabWidth, tabHeight = 0.32, 0.25 tCenterX, tCenterY = (1 / 2) - (tabWidth / 2), (1 / 2) - (tabHeight / 2) window = guiCreateWindow( centerX, centerY, guiWidth, guiHeight, "Alias Sys
  8. Edited code, i completely didn't notice, been up for too long!
  9. Now this is weird, because i'm using relative window, relative tabPanel, relative everything, the size of the GUI window is always the same for all resolutions though, centered, not bigger or smaller than usual. However, only the tab is messed up. Notice the last tab "Permanent" isn't showing for a player with lower resolution. tabWidth, tabHeight = 0.32, 0.25 tCenterX, tCenterY = (1 / 2) - (tabWidth / 2), (1 / 2) - (tabHeight / 2) tabPanel = guiCreateTabPanel(tCenterX, tCenterY+0.355, tabWidth, tabHeight, true, window) monthsTab = guiCreateTab("Months", tabPanel) d
  10. After a lot of hours! i just found out !!! it receives only one string and divides its spaces! function MuteSelectedSerial(serial, seconds, reason) local name = getPlayerName(getPlayerFromSerial(serial)):gsub('#%x%x%x%x%x%x', '') executeCommandHandler("mute",source [b], name.." "..seconds.." "reason[/b]) end addEvent("onSerialMute", true) addEventHandler("onSerialMute", root, MuteSelectedSerial) MTA forum is an inspiration <3
  11. On our servers, we have a customized admin resource which has a mute system by entering the following arguments: /mute [playerName] [ Period "1d" "30m" "500"] [Reason] I searched everywhere in admin resource, but there were no straight forward function so i couldn't figure out how to export it. After many attempts, i created this function: function MuteSelectedSerial(serial, seconds, reason) local name = getPlayerName(getPlayerFromSerial(serial)):gsub('#%x%x%x%x%x%x', '') executeCommandHandler("mute",source , name, seconds, reason) end addEvent("onSerialMute", true) addEvent
  12. Crap.. you did told me where my problem is, but i can't seem to fix it.. the "attachedElement" part is a damn mystery, that can be found in triggerServerEvent/triggerClientEvent/addEventHandler
×
×
  • Create New...