فاّرس Posted June 6, 2013 Share Posted June 6, 2013 زاحف ؟ ياخي اقولك اكواد سيرفر ما تجي مع كلنت !!!! + جرب كودي شغال ,, Link to comment
#DRAGON!FIRE Posted June 6, 2013 Share Posted June 6, 2013 #~ ولله من التعصيب سويته سسريع بالغلط #~ مرة ثانية اعذروني + عدلته #~ ولو فيه غلط أعذروني Link to comment
!#NssoR_) Posted June 6, 2013 Share Posted June 6, 2013 addEventHandler ( "onClientMarkerHit", TheMarker, = ؟؟ Link to comment
#DRAGON!FIRE Posted June 6, 2013 Share Posted June 6, 2013 addEventHandler ( "onClientMarkerHit", TheMarker, = ؟؟ ولله # ولله مدري اش صأر لي اقسسم بالله مدري اش صار + عدلته _ , مشكور على التنبيه Link to comment
iMr.Dawix~# Posted June 6, 2013 Share Posted June 6, 2013 #~ ولله من التعصيب سويته سسريع بالغلط #~ مرة ثانية اعذروني + عدلته #~ ولو فيه غلط أعذروني ما يصلح تحط كود سيرفر بأكواد كلنت isObjectInACLGroup Link to comment
Stranger Posted June 6, 2013 Author Share Posted June 6, 2013 ولله # ولله مدري اش صأر لي اقسسم بالله مدري اش صار + عدلته _ , مشكور على التنبيه طيب حلو , بس نفس الشي الماركر مايبان GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3 ",false,GUIEditor_Window[1])--- هــنأ حط القوانين guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) addEvent("Vis",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end ) Link to comment
فاّرس Posted June 6, 2013 Share Posted June 6, 2013 اذا تبيه لقروب ينفتح, -- Client Side ! GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEvent("openWindow",true) addEventHandler("openWindow",root, function() guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) -- Server Side ! TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) -- غير الاحداثيآت function MarkerHit(player) if TheMarker then if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( ("Admin") ) ) then triggerClientEvent(player,"openWindow", player) end end end addEventHandler("onMarkerHit",TheMarker,MarkerHit) Link to comment
Stranger Posted June 6, 2013 Author Share Posted June 6, 2013 اذا تبيه لقروب ينفتح,-- Client Side ! GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEvent("openWindow",true) addEventHandler("openWindow",root, function() guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) -- Server Side ! TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) -- غير الاحداثيآت function MarkerHit(player) if TheMarker then if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( ("Admin") ) ) then triggerClientEvent(player,"openWindow", player) end end end addEventHandler("onMarkerHit",TheMarker,MarkerHit) كودك ضبط بس فيه مشكله , انا مابيه لقروب من الادمنيه ابيه قروب في التاب مو تيم , قروب باختصار قروب في Data Link to comment
فاّرس Posted June 7, 2013 Share Posted June 7, 2013 ^ آسف ما فهمتك ؟ كيف يعني في داتا؟ يعني تبيه لمود القروبات حق العقرب ؟ Link to comment
iPrestege Posted June 7, 2013 Share Posted June 7, 2013 اذا تبيه لقروب ينفتح,-- Client Side ! GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEvent("openWindow",true) addEventHandler("openWindow",root, function() guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) -- Server Side ! TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) -- غير الاحداثيآت function MarkerHit(player) if TheMarker then if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( ("Admin") ) ) then triggerClientEvent(player,"openWindow", player) end end end addEventHandler("onMarkerHit",TheMarker,MarkerHit) من الماركر ماتحققت من الالمنت لاعب ولالا ؟ وش الداعي تتحقق Link to comment
Stranger Posted June 7, 2013 Author Share Posted June 7, 2013 ^ آسف ما فهمتك ؟ كيف يعني في داتا؟يعني تبيه لمود القروبات حق العقرب ؟ يب يب يب بس مو زي حق العقرب , المهم هو يسوي قروب انا استخدم حق احمد فيف Link to comment
فاّرس Posted June 7, 2013 Share Posted June 7, 2013 (edited) آسف نسيت اتحقق..., TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) -- غير الاحداثيآت function MarkerHit(player) if getElementType(player) == 'player' then if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( ("Admin") ) ) then triggerClientEvent(player,"openWindow", player) end end end addEventHandler("onMarkerHit",TheMarker,MarkerHit) + مثل ما قالك برستيج..., وهذا مثآل على الداتا حق العقرب..., if getElementData( player, 'Group') == 'TheBest' then Edited June 7, 2013 by Guest Link to comment
iPrestege Posted June 7, 2013 Share Posted June 7, 2013 تقدر تخلي الكود كلة كلنت .. : GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) local marker = createMarker ( x,y,z, "cylinder",2,255,255,255,255 ) addEventHandler("onClientMarkerHit",marker, function ( element ) if element == localPlayer then if getElementData ( element,'Data' ) == 'Group Name' then guiSetVisible ( GUIEditor_Window[1],true ) showCursor ( true ) end end end,false ) addEventHandler("onClientGUIClick",GUIEditor_Button[1] , function ( ) guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false ) @ مانستر بدل : if getElementData ( element,'Data' ) == 'Group Name' then 'Data' > بـ الداتا حقكـ .. 'Group Name' > بـ القروب المخزن بالداتا .. Link to comment
Stranger Posted June 7, 2013 Author Share Posted June 7, 2013 تقدر تخلي الكود كلة كلنت .. : GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) local marker = createMarker ( x,y,z, "cylinder",2,255,255,255,255 ) addEventHandler("onClientMarkerHit",marker, function ( element ) if element == localPlayer then if getElementData ( element,'Data' ) == 'Group Name' then guiSetVisible ( GUIEditor_Window[1],true ) showCursor ( true ) end end end,false ) addEventHandler("onClientGUIClick",GUIEditor_Button[1] , function ( ) guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false ) @ مانستر بدل : if getElementData ( element,'Data' ) == 'Group Name' then 'Data' > بـ الداتا حقكـ .. 'Group Name' > بـ القروب المخزن بالداتا .. يب فهمتك يلبى , اوكي جاري التجربه Link to comment
Stranger Posted June 7, 2013 Author Share Posted June 7, 2013 مشكووووور تسلم يلبى قلبك , Link to comment
Stranger Posted June 7, 2013 Author Share Posted June 7, 2013 حياكـ الله .. طيب انا حاولت اسويها اذا كان الاعب في سياره مايجيه شي addEventHandler("onClientMarkerHit",TheMarker, function ( element ) if element == localPlayer then if getElementType ( element ) == "player" then if not isPedInVehicle ( player ) then guiSetVisible ( GUIEditor_Window[1],true ) showCursor ( true ) end end end end,false ) Link to comment
iPrestege Posted June 7, 2013 Share Posted June 7, 2013 addEventHandler("onClientMarkerHit",TheMarker, function ( element ) if element == localPlayer then if isPedInVehicle( element ) then return end if getElementData ( element,'Data' ) == 'Group Name' then guiSetVisible ( GUIEditor_Window[1],true ) showCursor ( true ) end end end,false ) 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