Mohamed_king Posted October 17, 2016 Share Posted October 17, 2016 السلام عليكم ممكن طلب بدي اعمل ماركر وها الماركر لما ايجي احد من افراد قروب يجيدخل فيها تنفتح نافدة وها نافدة فسطها سيارات انا اضيفها للقروب ممكن اكواد مطلوبة امشالله فهمتو طلبي ملاحطة نبيه خاص ب اعضاء القروب اعطوني متال علي SWAT Link to comment
iPrestege Posted October 18, 2016 Share Posted October 18, 2016 تحقق من اللي خش الماركر انة لاعب وانة عندة الداتا او طريقة التحقق من قروب الاعب وسوي اللي تبية من سيارات Link to comment
Mohamed_king Posted October 18, 2016 Author Share Posted October 18, 2016 8 hours ago, FaHaD said: تحقق من اللي خش الماركر انة لاعب وانة عندة الداتا او طريقة التحقق من قروب الاعب وسوي اللي تبية من سيارات تمام Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 (edited) bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) guiSetVisible(window,false) bb2 = guiCreateButton(90,215,61,21,"Select",false,window) cargrid = guiCreateGridList(16,32,139,174,false,window) guiGridListAddColumn(cargrid," Your Car",0.3) guiGridListSetColumnWidth(cargrid,1,0.4,true) function closeInfo ( ) if ( guiGetVisible ( window ) == true ) then guiSetVisible ( window, false ) showCursor ( false ) end end addEventHandler ("onClientGUIClick", bb1, closeInfo) ----------------------------------------------------------------------- theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) function tagColorAndSkin (button, state, absoluteX, absoluteY) if (source == theMarker) then guiSetVisible(window,true) showCursor ( true ) end end addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) ----------------------------------------------------------------------------------- function populateGridlist() bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) guiSetVisible(window,false) bb2 = guiCreateButton(90,215,61,21,"Select",false,window) cargrid = guiCreateGridList(16,32,139,174,false,window) guiGridListAddColumn(cargrid," Your Car",0.3) guiGridListSetColumnWidth(cargrid,1,0.4,true) function closeInfo ( ) if ( guiGetVisible ( window ) == true ) then guiSetVisible ( window, false ) showCursor ( false ) end end addEventHandler ("onClientGUIClick", bb1, closeInfo) ----------------------------------------------------------------------- theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) function tagColorAndSkin (button, state, absoluteX, absoluteY) if (source == theMarker) then guiSetVisible(window,true) showCursor ( true ) end end addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) ----------------------------------------------------------------------------------- function populateGridlist() Client bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) guiSetVisible(window,false) bb2 = guiCreateButton(90,215,61,21,"Select",false,window) cargrid = guiCreateGridList(16,32,139,174,false,window) guiGridListAddColumn(cargrid," Your Car",0.3) guiGridListSetColumnWidth(cargrid,1,0.4,true) function closeInfo ( ) if ( guiGetVisible ( window ) == true ) then guiSetVisible ( window, false ) showCursor ( false ) end end addEventHandler ("onClientGUIClick", bb1, closeInfo) ----------------------------------------------------------------------- theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) function tagColorAndSkin (button, state, absoluteX, absoluteY) if (source == theMarker) then guiSetVisible(window,true) showCursor ( true ) end end addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) ----------------------------------------------------------------------------------- function populateGridlist() client window = guiCreateWindow(510,257,168,247,"Police cars by ismaeel",false) bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) guiSetVisible(window,false) bb2 = guiCreateButton(90,215,61,21,"Select",false,window) cargrid = guiCreateGridList(16,32,139,174,false,window) guiGridListAddColumn(cargrid," Your Car",0.3) guiGridListSetColumnWidth(cargrid,1,0.4,true) function closeInfo ( ) if ( guiGetVisible ( window ) == true ) then guiSetVisible ( window, false ) showCursor ( false ) end end addEventHandler ("onClientGUIClick", bb1, closeInfo) ----------------------------------------------------------------------- theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) function tagColorAndSkin (button, state, absoluteX, absoluteY) if (source == theMarker) then guiSetVisible(window,true) showCursor ( true ) end end addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) ----------------------------------------------------------------------------------- function populateGridlist() انشالله ساعدتك غير تيم ديرها قروب وبوليس ديرها سوات Edited October 18, 2016 by Ismaeel_finer Link to comment
Mohamed_king Posted October 18, 2016 Author Share Posted October 18, 2016 هكي طلبي يا اخوي فهد زي مادار اسماعيل خر بدل تيم قروب وبدل بوليس سوات 10 hours ago, FaHaD said: تحقق من اللي خش الماركر انة لاعب وانة عندة الداتا او طريقة التحقق من قروب الاعب وسوي اللي تبية من سيارات Link to comment
Ahmed Ly Posted October 18, 2016 Share Posted October 18, 2016 (edited) marker = createMarker ( 927.09997558594,-2520.6999511719,16.10000038147, "cylinder", 2.5, 57, 0, 0, 255 ) addEventHandler("onClientMarkerHit",marker, function (hitPlayer) if ( hitPlayer == localPlayer ) and getElementData( hitPlayer,"gang") == "SWAT" then guiSetVisible(لوحتك,true) showCursor(true) end end ) Edited October 18, 2016 by Ahmed Ly 1 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