Jump to content

_Kinan

Members
  • Posts

    187
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by _Kinan

  1. You should export a video into frames.. and use https://wiki.multitheftauto.com/wiki/DxDrawImage drawing every frame in the video. Or you can use https://wiki.multitheftauto.com/wiki/CreateBrowser and adding a link into the video (Harder)
  2. _Kinan

    طلب

    شكراً لك و اعتذر توي صاحي
  3. _Kinan

    طلب

    شكراً نسيت انسخ اول حرف .. يب اشوف الأرقمنتات... وش بها؟
  4. Note: Using this function client side (not recommended) will not change a players money server side. https://wiki.multitheftauto.com/wiki/GivePlayerMoney يعني لو فيه تحقق من السيرفر ما بيطلعله انه اخذ الفلوس
  5. _Kinan

    طلب

    addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[2] and guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == false then local PlrName = getPlayerName(localPlayer) triggerServerEvent('allPlayersDel',localPlayer,PlrName) end end ) function getGridListRowIndexFromText(gridList, text, column) for i=0, guiGridListGetRowCount(gridList)-1 do if (guiGridListGetItemText(gridList, i, column) == text) then return i end end return false end addEvent('SuppportDel',true) addEventHandler('SuppportDel',root, function ( PlrName ) guiGridListRemoveColumn(GUIEditor.gridlist[2],getGridListRowIndexFromText( GUIEditor.gridlist[2] , PlrName:gsub("#%x%x%x%x%x%x", "") , 1 ) ) end) -- سرفر addEvent('allPlayersDel',true) addEventHandler('allPlayersDel',root, function ( PlrName ) triggerClientEvent(root,'SuppportDel',root,PlrName) end ) هذا Useful Function في هذا الكود getGridListRowIndexFromText(PlrName) اتأكد اذا PlrName يتطابق مع guiGridListGetItemText
  6. -- useful function bool isPlayerInTeam ( player thePlayer [, team/string theTeam = nil ] ) function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "string" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local Team = "Criminal" local Money = 10000 addEvent("givePlayerMoney",true) addEventHandler ("givePlayerMoney",root, function () if isPlayerInTeam(source,"Criminal") then givePlayerMoney ( source , Money ) else outputChatBox("----",source,255,0,0,true) end end Serverside ^
  7. https://community.multitheftauto.com/index.php?p=register https://community.multitheftauto.com/index.php?p=login https://community.multitheftauto.com/index.php?p=resources&s=upload
  8. من أخوي الكبير ثم علمت اخوي #iRamX بعدين بطلت البرمجة و رجعتلها و اخوي رجع علمني الدنيا دوارة
  9. طيب, المشكلة هي : لما تضغط ع اف 5 ما تظهر لك اللوحة؟ ولا فيه زر لما تكبسه تجيك اللوحة؟
  10. طيب رجعها مثل ما كانت و شوف ردي الي فوق
  11. button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button11, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) حوله لـ: button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false)
  12. givePlayerMoney ( sourec, 10000 ) اولاً : source مو sourec ثانياً : في الكلينت مافيه source فيه getLocalPlayer() ثانياً : الفنكشن للسيرفر مو للكلينت.
  13. كود فيه شوية اغلاط, هات الدي بق سكريبت
  14. Looks fancy. Needs some improvements for sure. But Keep up !
×
×
  • Create New...