+Source|> Posted May 22, 2017 Author Posted May 22, 2017 2 minutes ago, Master_MTA said: والله ما شفته سويته على العموم يا صاحب الموضوع اهم شي زبط؟ والله ما تخوف ولا شي لو تشيلون اليوزفل فنكشن الاثنين اللي فوق بتشوفونها لا وش مب لازم لازم يشتغل معك رتبت شرطي وهل انت مسجل اي مسجل برتبة شرطي
Master_MTA Posted May 22, 2017 Posted May 22, 2017 Just now, A7MEDENO said: اي مسجل برتبة شرطي في شي يطلعلك في الدي بق debugscript 3 في اف 8
+Source|> Posted May 22, 2017 Author Posted May 22, 2017 1 minute ago, Master_MTA said: في شي يطلعلك في الدي بق debugscript 3 في اف 8 لاا
Master_MTA Posted May 22, 2017 Posted May 22, 2017 (edited) local marker=createMarker(1543.0999755859, -1627.6999511719, 12, "cylinder", 0, 0, 0, 0) local obj = createObject ( 980,1542.900390625,-1627.599609375,14.89999961853,0,0,90 ) function backdoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853) unbindKey(plr,'tab','down',backdoor) end end function movethedoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853+10) bindKey(plr,'tab','down',backdoor) unbindKey(plr,'tab','down',movethedoor) end end addEventHandler('onMarkerHit',root,function(plr) if getElementType(plr)=='player' and not isPedInVehicle(plr) then if isGuestAccount(getPlayerAccount(plr))then return end if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(plr)), aclGetGroup ( "Police" ) ) then bindKey(plr,'tab','down',movethedoor) end end end) Edited May 22, 2017 by Master_MTA جعلته ابسط وابسط
Master_MTA Posted May 22, 2017 Posted May 22, 2017 (edited) 8 minutes ago, Master_MTA said: local marker=createMarker(1543.0999755859, -1627.6999511719, 12, "cylinder", 0, 0, 0, 0) local obj = createObject ( 980,1542.900390625,-1627.599609375,14.89999961853,0,0,90 ) function backdoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853) unbindKey('tab','down',backdoor) end end function movethedoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853+10) bindKey(plr,'tab','down',backdoor) unbindKey('tab','down',movethedoor) end end addEventHandler('onMarkerHit',root,function(plr) if getElementType(plr)=='player' and not isPedInVehicle(plr) then if isGuestAccount(getPlayerAccount(plr))then return end if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(plr)), aclGetGroup ( "Police" ) ) then bindKey(plr,'tab','down',movethedoor) end end end) جرب بسطت الكود تم بسطت الكود زياده راجعه يا صاحب الموضوع 8 minutes ago, #_iMr.[E]coo said: احداثيات الماركر غيرته ؟ نو Edited May 22, 2017 by Master_MTA شي مهم ضفته راجعه
+Source|> Posted May 22, 2017 Author Posted May 22, 2017 5 minutes ago, #_iMr.[E]coo said: احداثيات الماركر غيرته ؟ انا غيرتها وما اشتغل خلاص مب لازم ضض يعطيكم العافيه ق8
Master_MTA Posted May 22, 2017 Posted May 22, 2017 1 minute ago, A7MEDENO said: انا غيرتها وما اشتغل خلاص مب لازم ضض يعطيكم العافيه ق8 رح شف التعديل الاخير مستحيل ما يشتغل لاتغير الا الاحداثيات
^iiEcoo'x_) Posted May 22, 2017 Posted May 22, 2017 1 minute ago, Master_MTA said: رح شف التعديل الاخير مستحيل ما يشتغل لاتغير الا الاحداثيات ماستر يتحدى الملل
Master_MTA Posted May 22, 2017 Posted May 22, 2017 4 minutes ago, A7MEDENO said: انا غيرتها وما اشتغل خلاص مب لازم ضض يعطيكم العافيه ق8 اهم شي تكون لحقت على unbindKey Just now, #_iMr.[E]coo said: ماستر يتحدى الملل يب صراحه ذذ
Master_MTA Posted May 22, 2017 Posted May 22, 2017 (edited) 3 minutes ago, A7MEDENO said: ما اشتغل هي تنجط لالسيرفر صح ول الكلينت؟؟ اكيد ما بيشتغل اعذرني نسيت اعرف اللاعب في unbindkey تنحط سيرفر سايد تفضل الكود الصحيحاحسني اتعبتك واجد معليش local marker=createMarker(1543.0999755859, -1627.6999511719, 12, "cylinder", 0, 0, 0, 0) local obj = createObject ( 980,1542.900390625,-1627.599609375,14.89999961853,0,0,90 ) function backdoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853) unbindKey(plr,'tab','down',backdoor) end end function movethedoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853+10) bindKey(plr,'tab','down',backdoor) unbindKey(plr,'tab','down',movethedoor) end end addEventHandler('onMarkerHit',root,function(plr) if source==marker then if getElementType(plr)=='player' and not isPedInVehicle(plr) then if isGuestAccount(getPlayerAccount(plr))then return end if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(plr)), aclGetGroup ( "Police" ) ) then bindKey(plr,'tab','down',movethedoor) end end end end) لابتوب جديد والله موب عارف اكتب زين لازم تكون بدون سياره Edited May 22, 2017 by Master_MTA
AHMED MOSTAFA Posted May 22, 2017 Posted May 22, 2017 9 hours ago, A7MEDENO said: ما اشتغل هي تنجط لالسيرفر صح ول الكلينت؟؟ سيرفر !!!!
+Source|> Posted May 22, 2017 Author Posted May 22, 2017 5 minutes ago, Master_MTA said: اكيد ما بيشتغل اعذرني نسيت اعرف اللاعب في unbindkey تنحط سيرفر سايد تفضل الكود الصحيحاحسني اتعبتك واجد معليش local marker=createMarker(1543.0999755859, -1627.6999511719, 12, "cylinder", 0, 0, 0, 0) local obj = createObject ( 980,1542.900390625,-1627.599609375,14.89999961853,0,0,90 ) function backdoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853) unbindKey(plr,'tab','down',backdoor) end end function movethedoor(plr) if isElementWithinMarker(plr,marker) then moveObject(obj,500,1542.900390625,-1627.599609375,14.89999961853+10) bindKey(plr,'tab','down',backdoor) unbindKey(plr,'tab','down',movethedoor) end end addEventHandler('onMarkerHit',root,function(plr) if source==marker then if getElementType(plr)=='player' and not isPedInVehicle(plr) then if isGuestAccount(getPlayerAccount(plr))then return end if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(plr)), aclGetGroup ( "Police" ) ) then bindKey(plr,'tab','down',movethedoor) end end end end) لابتوب جديد والله موب عارف اكتب زين لازم تكون بدون سياره نوو ما اشتغل خلاص لاهنت مب لازم ابي استفسار اخر ممكن يكون اسهل انا سويت لوحه واللي يلمس الماركر تفتح اللوحه المشكله هي لما احد يلمس الماركر اللوحه تفتح لكل السيرفر ابيها للي لمس الماركر بسس
Master_MTA Posted May 22, 2017 Posted May 22, 2017 1 minute ago, A7MEDENO said: نوو ما اشتغل خلاص لاهنت مب لازم ابي استفسار اخر ممكن يكون اسهل انا سويت لوحه واللي يلمس الماركر تفتح اللوحه المشكله هي لما احد يلمس الماركر اللوحه تفتح لكل السيرفر ابيها للي لمس الماركر بسس اخوي تدري انك تجلطني كذا تحسسني اني فاشل مستحيل ما يشتغل يا اخوي الكريم والله بتخليني افتح اللعبه واجربه بالنسبه لطلبك تلاقيك مسوي كذا triggerClientEvent('eventname',plr) الصحيح triggerClientEvent(plr,'eventname',plr)
#BrosS Posted May 22, 2017 Posted May 22, 2017 حط تعريف بالفنكشن وتحقق انه التعريف يساوي اللاعب ذذ مثلا hitPlayer if hitPlayer == localPlayer
AHMED MOSTAFA Posted May 22, 2017 Posted May 22, 2017 9 hours ago, A7MEDENO said: نوو ما اشتغل خلاص لاهنت مب لازم ابي استفسار اخر ممكن يكون اسهل انا سويت لوحه واللي يلمس الماركر تفتح اللوحه المشكله هي لما احد يلمس الماركر اللوحه تفتح لكل السيرفر ابيها للي لمس الماركر بسس سوي تحقق ان الشخص اللي لمس الماركر هو اللوكال بلاير localPlayer يعني مثلاً لو x هو اللي لمس الماركر انت سوي كدة if not x == localPlayer then return false end قبل فتح اللوحة
+Source|> Posted May 22, 2017 Author Posted May 22, 2017 1 minute ago, Master_MTA said: اخوي تدري انك تجلطني كذا تحسسني اني فاشل مستحيل ما يشتغل يا اخوي الكريم والله بتخليني افتح اللعبه واجربه بالنسبه لطلبك تلاقيك مسوي كذا triggerClientEvent('eventname',plr) الصحيح triggerClientEvent(plr,'eventname',plr) اسف والله يمكن انا مسوي شي غلط لاني غيرت Policr ل Console بالنسبة للوحه انا مو مسوي ترايقر مسوي كذا local marker = createMarker(1539.96277,-1634.46960,12, "cylinder", 1.5, 255, 255, 0, 170) addEventHandler("onClientMarkerHit",marker , function() guiSetVisible(GUIEditor.window[1],true) showCursor(true) end )
Master_MTA Posted May 22, 2017 Posted May 22, 2017 1 minute ago, #BrosS said: حط تعريف بالفنكشن وتحقق انه التعريف يساوي اللاعب ذذ مثلا hitPlayer if hitPlayer == localPlayer يالطيب ذا سيرفر سايد مدري وش المشكله هل انا مجنون ولا في احد شايف خطا في الكود حقي يقولي بالله
#BrosS Posted May 22, 2017 Posted May 22, 2017 Just now, Master_MTA said: يالطيب ذا سيرفر سايد مدري وش المشكله هل انا مجنون ولا في احد شايف خطا في الكود حقي يقولي بالله شيعرفني انه يرسل ترايقر :::@@@@@@@@ واصلا نفس الشي بالنسبة للسيرفر سايد يعرف بلاير ويحطه
Master_MTA Posted May 22, 2017 Posted May 22, 2017 Just now, A7MEDENO said: اسف والله يمكن انا مسوي شي غلط لاني غيرت Policr ل Console بالنسبة للوحه انا مو مسوي ترايقر مسوي كذا local marker = createMarker(1539.96277,-1634.46960,12, "cylinder", 1.5, 255, 255, 0, 170) addEventHandler("onClientMarkerHit",marker , function() guiSetVisible(GUIEditor.window[1],true) showCursor(true) end ) addEventHandler("onClientMarkerHit",marker , function(plr) if plr==localPlayer then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) ولا يهمك يا غالي
#BrosS Posted May 22, 2017 Posted May 22, 2017 Recently Browsing 5 members #BrosS Killer Project Master_MTA A7MEDENO Mhmd.z نتمنى لكم اقامة ممتعة 1
Master_MTA Posted May 22, 2017 Posted May 22, 2017 Just now, #BrosS said: شيعرفني انه يرسل ترايقر :::@@@@@@@@ واصلا نفس الشي بالنسبة للسيرفر سايد يعرف بلاير ويحطه انا في مزاج سيء الان يرجى معاودة الاتصال لاحقا
+Source|> Posted May 22, 2017 Author Posted May 22, 2017 3 minutes ago, Master_MTA said: addEventHandler("onClientMarkerHit",marker , function(plr) if plr==localPlayer then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) ولا يهمك يا غالي شكرا لك اشتغل 2 minutes ago, #BrosS said: Recently Browsing 5 members #BrosS Killer Project Master_MTA A7MEDENO Mhmd.z نتمنى لكم اقامة ممتعة خههههههههههههههههه
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