Jump to content

طلب


Recommended Posts

سلام عليكم انا عامل في قريد لست

كل الاعبين

ابي لو حدد اسم من القريد لست

وضعط علي

button

تتفعل له لوحه من حرف خ

للمتحدد اسمه فقط

ولو حدد اسم الاعب من القريد

وضعط علي بيتون

يتشيال الوحه من حرف خ

Link to comment

Kda?

addEventHandler("onClientGUIClick",root,function (  ) 
if ( source == remove1 ) then 
if ( guiGridListGetSelectedItem(GUIEditor.gridlist[1]) ~= -1 ) then 
local PlayerName = getPlayerFromName (guiGridListGetItemText(GUIEditor.gridlist[1],guiGridListGetSelectedItem(GUIEditor.gridlist[1]),1)) 
if ( PlayerName ) then 
if ( getElementData ( PlayerName , "open" ) == true ) then 
setElementData (PlayerName,'open',false) 
else 
setElementData (PlayerName,'open',true) 
end end end end end ) 
  
bindKey("F10","down", function (    ) 
local Data = getElementData ( localPlayer , "open" ) 
if ( Data == true ) then 
-- Code Here 
end end) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...