Jump to content

Search the Community

Showing results for tags 'تريقات'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. السلام عليكم ورحمة الله وبركاتة كيف حال الشباب ان شاء الله طيبين اليوم انا طالب شي منكم شوفو في جدول تختار منو خاصية للوحة المساعدة اما تختار supports offline help طبعاً في جريد ليست للاعبين الي بسيرفر تختار لاعب وتدوس زر تغير تجيه الحالة الي اخترتها من فوق بس الكود في خطأ والدي بق ما يطلع شي Help Me Please addEventHandler("onClientGUIClick", resourceRoot, function() if source == Change and guiComboBoxGetSelected(StatBox) ~= -1 then local Stat = guiComboBoxGetItemText(StatBox, guiComboBoxGetSelected(StatBox)) local playerName = guiGridListGetItemText(PlayersGridList, guiGridListGetSelectedItem(PlayersGridList), 1) triggerServerEvent("SupportSystem:adminSetStat", localPlayer, getPlayerFromName(playerName), Stat) refreshSupportList() end end ) function refreshSupportList() guiGridListClear(SupportList) for _,players in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(SupportList) if getElementData(players, "stat") == "support" then guiGridListSetItemText(SupportList, row, 1, getPlayerName(players), false, false) guiGridListSetItemColor(SupportList, row, 1, 0, 255, 0) end end end --- # server Code addEvent("SupportSystem:adminSetStat", true) addEventHandler("SupportSystem:adminSetStat", root, function(player, Stat) setElementData(player, "stat", Stat) exports["guimessages"]:outputServer(player, "#FFFFFF[ #e1e1e1Support Chat #FFFFFF] : #00ff00"..getPlayerName(source).." has changed your support states to #ff0000"..Stat) exports["guimessages"]:outputServer(player, "#FFFFFF[ #e1e1e1Support Chat #FFFFFF] : #00ff00"..getPlayerName(player).." states changed to #ff0000"..Stat) sendMessageToLogs(getPlayerName(source).." changed "..getPlayerName(player).." support states to "..Stat) end)
×
×
  • Create New...