Tete omar Posted June 5, 2012 Share Posted June 5, 2012 السلام عليكم ورحمة الله وبركاته ------------------------ -- Orginal file by tete -- ------------------------ GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(0.0469,0.2161,0.511,0.6549,"Police Panel",true) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Grid[1] = guiCreateGridList(9,21,217,347,false,GUIEditor_Window[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) GUIEditor_Label[1] = guiCreateLabel(386,71,64,20,"الاسم :",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,50) guiLabelSetHorizontalAlign(GUIEditor_Label[1],"right",false) GUIEditor_Label[2] = guiCreateLabel(388,101,62,19,"الآيبي :",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],0,150,255) guiLabelSetHorizontalAlign(GUIEditor_Label[2],"right",false) GUIEditor_Label[3] = guiCreateLabel(389,130,61,23,"السيريال :",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[3],0,255,50) guiLabelSetHorizontalAlign(GUIEditor_Label[3],"right",false) GUIEditor_Label[4] = guiCreateLabel(386,157,63,23,"البنق :",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[4],0,150,255) guiLabelSetHorizontalAlign(GUIEditor_Label[4],"right",false) GUIEditor_Label[5] = guiCreateLabel(377,186,73,20,"اسم الحساب:",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[5],0,255,50) GUIEditor_Label[6] = guiCreateLabel(387,216,63,17,"الفلوس:",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[6],0,150,255) guiLabelSetHorizontalAlign(GUIEditor_Label[6],"right",false) GUIEditor_Label[7] = guiCreateLabel(245,71,155,20,"",false,GUIEditor_Window[1]) guiLabelSetHorizontalAlign(GUIEditor_Label[7],"center",false) GUIEditor_Label[8] = guiCreateLabel(279,102,121,18,"",false,GUIEditor_Window[1]) guiLabelSetHorizontalAlign(GUIEditor_Label[8],"center",false) GUIEditor_Label[9] = guiCreateLabel(229,130,161,17,"",false,GUIEditor_Window[1]) GUIEditor_Label[10] = guiCreateLabel(334,158,70,15,"",false,GUIEditor_Window[1]) guiLabelSetHorizontalAlign(GUIEditor_Label[10],"center",false) GUIEditor_Label[11] = guiCreateLabel(236,186,131,24,"",false,GUIEditor_Window[1]) guiLabelSetHorizontalAlign(GUIEditor_Label[11],"center",false) GUIEditor_Label[12] = guiCreateLabel(307,212,93,21,"$",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[12],0,255,50) GUIEditor_Button[1] = guiCreateButton(267,271,93,75,"سلاب 100",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(370,271,95,75,"طرد اللاعب",false,GUIEditor_Window[1]) GUIEditor_Label[13] = guiCreateLabel(236,350,119,13,"* Version 1.0",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[13],255,0,0) GUIEditor_Label[14] = guiCreateLabel(254,38,208,24,"-: معلومات اللاعب :-",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[14],255,0,0) guiLabelSetVerticalAlign(GUIEditor_Label[14],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[14],"center",false) GUIEditor_Label[15] = guiCreateLabel(450,62,22,189,"|\n|\n|\n|",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[15],255,150,0) guiSetFont(GUIEditor_Label[15],"sa-header") GUIEditor_Label[16] = guiCreateLabel(260,251,207,27,"~~~~~~~",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[16],255,150,0) guiLabelSetHorizontalAlign(GUIEditor_Label[16],"center",false) guiSetFont(GUIEditor_Label[16],"sa-gothic") GUIEditor_Button[3] = guiCreateButton(472,27,25,24,"X",false,GUIEditor_Window[1]) guiSetVisible ( GUIEditor_Window[1] ,false ) addEventHandler('onClientGUIClick', root, function () if ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) guiSetInputEnabled(false) showCursor(false) elseif ( source == GUIEditor_Button[4] ) then guiSetVisible(GUIEditor_Window[2],false) guiSetInputEnabled(false) showCursor(false) end end) function Anad() local playerList = GUIEditor_Grid[1] local column = guiGridListAddColumn(GUIEditor_Grid[1],"الاعبين",0.85) if ( column ) then for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( GUIEditor_Grid[1] ) guiGridListSetItemText ( GUIEditor_Grid[1], row, column, getPlayerName ( plaItem ), false, false ) end end end addEventHandler ( "onClientResourceStart", getRootElement(), Anad ) function onClick () selectedRow, selectedCol = guiGridListGetSelectedItem( GUIEditor_Grid[1]) hisName= guiGridListGetItemText( GUIEditor_Grid[1], selectedRow, selectedCol ) guiSetText ( GUIEditor_Label[7], tostring(hisName)) end addEventHandler( "onClientGUIClick", GUIEditor_Grid[1], onClick) function shoshalo () selectedRow, selectedCol = guiGridListGetSelectedItem( GUIEditor_Grid[1]) hisName= getPlayerSerial( GUIEditor_Grid[1], selectedRow, selectedCol ) guiSetText ( GUIEditor_Label[8], tostring(hisName)) end addEventHandler( "onClientGUIClick", GUIEditor_Grid[1], shoshalo) bindKey('m','down',function() guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end) ابي اي بي الاعب وسيريال الاعب وبنق الاعب واسم حساب الاعب وفلوس الاعب والسلام عليكم ورحمة الله وبركاته Link to comment
KaBoS Posted July 2, 2012 Share Posted July 2, 2012 هات 10 شحن سوآ واصلحه لك في خمس دقايق هع Link to comment
TAPL Posted July 2, 2012 Share Posted July 2, 2012 lock this Topic. هات 10 شحن سوآ واصلحه لك في خمس دقايق هع Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now