Jump to content

GalaxyExx

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

407 profile views

GalaxyExx's Achievements

Square

Square (6/54)

0

Reputation

  1. و اسم اللاعب leader اي لاعب يقدر يدوس على الازرار عايز اخلي الازرار مفتوحة بس لي واخد
  2. لا مش عايز كدا . المشكلة اي لاعب يقدر يدوس على الازرار انا عايز بس اخلي لي معاه رتبة ليدر في المود داه و لي اسمه مكتوب في الملف بس يقدروا يدوسو على الازرار clan.rank & player.key function toggleClanControl( source ) if(getElementsByType("player")) then if not guiGetVisible( Clan.Window[1] ) then showCursor ( true ) guiSetVisible( Clan.Window[1], true ) guiGridListClear ( Clan.Gridlist[1] ) if ( column ) then guiGridListClear ( Clan.Gridlist[1] ) for _,v in ipairs(getElementsByType("player"))do local row = guiGridListAddRow(Clan.Gridlist[1]) local playerName = getPlayerName(v) guiGridListSetItemText(Clan.Gridlist[1],row,column,playerName,false,false) end end if getElementData(localPlayer, "clan.rank") == "leader" or getElementData(localPlayer, "player.key") == "Galaxy" then guiSetEnabled(Clan.Button[1], true) --Add guiSetEnabled(Clan.Button[2], true) --Kick guiSetEnabled(Clan.Button[3], true) --promote guiSetEnabled(Clan.Button[4], true) --demote else guiSetEnabled(Clan.Button[1], false) guiSetEnabled(Clan.Button[2], false) guiSetEnabled(Clan.Button[3], false) --promote guiSetEnabled(Clan.Button[4], false) --demote end else showCursor ( false ) guiSetVisible( Clan.Window[1], false ) end end end bindKey( "H", "down", toggleClanControl ) addCommandHandler("clan", toggleClanControl)
  3. عايز اخلي بس لي معاه رانك ليدر او اسمه لي مكتوب في الملف يقدروا يدوسوا على الازرار promote & demote & kick & add
  4. function toggleClanControl( source ) if(getElementsByType("player")) then if not guiGetVisible( Clan.Window[1] ) then showCursor ( true ) guiSetVisible( Clan.Window[1], true ) guiGridListClear ( Clan.Gridlist[1] ) if ( column ) then guiGridListClear ( Clan.Gridlist[1] ) for _,v in ipairs(getElementsByType("player"))do local row = guiGridListAddRow(Clan.Gridlist[1]) local playerName = getPlayerName(v) guiGridListSetItemText(Clan.Gridlist[1],row,column,playerName,false,false) end end if getElementData(localPlayer, "clan.rank") == "leader" or getElementData(localPlayer, "player.key") == "Galaxy" then guiSetEnabled(Clan.Button[1], true) --Add guiSetEnabled(Clan.Button[2], true) --Kick guiSetEnabled(Clan.Button[3], true) --promote guiSetEnabled(Clan.Button[4], true) --demote else guiSetEnabled(Clan.Button[1], false) guiSetEnabled(Clan.Button[2], false) guiSetEnabled(Clan.Button[3], false) --promote guiSetEnabled(Clan.Button[4], false) --demote end else showCursor ( false ) guiSetVisible( Clan.Window[1], false ) end end end bindKey( "H", "down", toggleClanControl ) addCommandHandler("clan", toggleClanControl)
  5. username & و صاحب رانك ليدر leader يقدر يدوس على الازرار kick / promote / demote / add السلام عليكم . عندي مشكلة ، عايز اخلي بس اسماء الاعبين function toggleClanControl( source ) if(getElementsByType("player")) then if not guiGetVisible( Clan.Window[1] ) then showCursor ( true ) guiSetVisible( Clan.Window[1], true ) guiGridListClear ( Clan.Gridlist[1] ) if ( column ) then guiGridListClear ( Clan.Gridlist[1] ) for _,v in ipairs(getElementsByType("player"))do local row = guiGridListAddRow(Clan.Gridlist[1]) local playerName = getPlayerName(v) guiGridListSetItemText(Clan.Gridlist[1],row,column,playerName,false,false) end end if getElementData(localPlayer, "clan.rank") == "leader" or getElementData(localPlayer, "player.key") == "Galaxy" then guiSetEnabled(Clan.Button[1], true) --Add guiSetEnabled(Clan.Button[2], true) --Kick guiSetEnabled(Clan.Button[3], true) --promote guiSetEnabled(Clan.Button[4], true) --demote else guiSetEnabled(Clan.Button[1], false) guiSetEnabled(Clan.Button[2], false) guiSetEnabled(Clan.Button[3], false) --promote guiSetEnabled(Clan.Button[4], false) --demote end else showCursor ( false ) guiSetVisible( Clan.Window[1], false ) end end end bindKey( "H", "down", toggleClanControl ) addCommandHandler("clan", toggleClanControl)
  6. anyone ?
  7. i have a little problem . i want only who got rank.leader & username of player that is added on client is allowed to add / kick / promote / demote function toggleClanControl( source ) if(getElementsByType("player")) then if not guiGetVisible( Clan.Window[1] ) then showCursor ( true ) guiSetVisible( Clan.Window[1], true ) guiGridListClear ( Clan.Gridlist[1] ) if ( column ) then guiGridListClear ( Clan.Gridlist[1] ) for _,v in ipairs(getElementsByType("player"))do local row = guiGridListAddRow(Clan.Gridlist[1]) local playerName = getPlayerName(v) guiGridListSetItemText(Clan.Gridlist[1],row,column,playerName,false,false) end end if getElementData(localPlayer, "clan.rank") == "leader" or getElementData(localPlayer, "player.key") == "Galaxy" then guiSetEnabled(Clan.Button[1], true) --Add guiSetEnabled(Clan.Button[2], true) --Kick guiSetEnabled(Clan.Button[3], true) --promote guiSetEnabled(Clan.Button[4], true) --demote else guiSetEnabled(Clan.Button[1], false) guiSetEnabled(Clan.Button[2], false) guiSetEnabled(Clan.Button[3], false) --promote guiSetEnabled(Clan.Button[4], false) --demote end else showCursor ( false ) guiSetVisible( Clan.Window[1], false ) end end end bindKey( "H", "down", toggleClanControl ) addCommandHandler("clan", toggleClanControl)
  8. i'll send u the full scripts in pm that i made and help me to fix it ok
  9. @lilDawage how can u tell me how i can begin with girldlist
  10. GalaxyExx

    clan panel

    hey , i want make a clan list that are showed in panel ( each clan has informations like xp , leader , kills , members , online , members .. ) can anyone help me ?
×
×
  • Create New...