
Professional
Members-
Posts
1,101 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Professional
-
ما احد جابرك تساعد ما تبي تساعد على راحتك بس لا تخرب الموضوع
-
في اي سطر احط الكود وكام المود مشفر؟
-
يخي ما راح ينجح معي شيئ جربت ما نجح
-
ههههههههههههههههههههههأأي حبيبي هات رابط الويكي ولا مثل بعض المبرمجين تعطونى الاغلاط حتى لو كانت قوس
-
اخي شوف الاغلاط unexpected symbol near ']' Line = 32 '' expected near 'end' Line = 39 unexpected symbol near ')' Line= 40 unexpected symbol near ')' Line = 57
-
شوف المشكله الحين ERROR:Loading script failed: bod\Client.lua:56 '=' expected near 'end'
-
لسا ما طقست الطقسه كان مشتغل المود وشوف التخبيص
-
كذا يصير ؟ --[[------------------------------------------------- Notes: > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. --]]------------------------------------------------- GUIEditor = { button = {}, window = {}, staticimage = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(149, 80, 526, 441, "وزارة طرب للهجولة والاسلحة : مود الانتقالات", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 15, 507, 416, ":guieditor/images/examples/Hajola1.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(8, 18, 104, 60, "استراحة طرب", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(135, 23, 96, 55, "النخيل", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(255, 21, 99, 57, "الدائري", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(391, 24, 101, 54, "البنك", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(4, 132, 103, 48, "المطار 1", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(136, 133, 95, 47, "المطار 2", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(245, 133, 105, 47, "المطار 3", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(200, 200, 129, 75, "البدايه", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(374, 132, 100, 48, "ساحة الرفع", false, GUIEditor.staticimage[1]) GUIEditor.button[10] = guiCreateButton(3, 226, 94, 49, "ساحة التفجير", false, GUIEditor.staticimage[1]) GUIEditor.button[11] = guiCreateButton(108, 227, 82, 48, "مكتب العقارات", false, GUIEditor.staticimage[1]) GUIEditor.button[12] = guiCreateButton(343, 211, 75, 50, "سلحه قتال", false, GUIEditor.staticimage[1]) GUIEditor.button[13] = guiCreateButton(425, 213, 67, 48, "المعرض", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(0, 282, 299, 72, "جميع الحقوق محفوظة لسيرفر طرب للهجولة والحرب", false, GUIEditor.staticimage[1]) guiEditSetReadOnly(GUIEditor.edit[1], true) GUIEditor.button[14] = guiCreateButton(265, 149, 93, 44, "المطار 3", false, GUIEditor.window[1]) end ) bindKey ( "F6" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.button[1] ) == false ) then guiSetVisible ( GUIEditor_Button[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) ---------------------- استراحة الطرب addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[1] then setElementPosition(localPlayer,-689.57080,949.37488,12.17489) outputChatBox("#FFFF00 | | تم نقلك الى استراحه الطرب||",255,255,255,true) end end) ---------- النخيل addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[2] then setElementPosition(localPlayer,2088.34546,960.59888,10.71577) outputChatBox("#FFFF00 | | تم نقلك الى النخيل ||",255,255,255,true) end end) ------------------الدائري addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[3] then setElementPosition(localPlayer,1823.44202,872.06281,10.72149) outputChatBox("#FFFF00 | | تم نقلك الى الدائري ||",255,255,255,true) end end) -------- البنك addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[4] then setElementPosition(localPlayer,590.46967,-1241.27686,17.88795) outputChatBox("#FFFF00 | | تم نقلك الى البنك||",255,255,255,true) end end) --------- المطار addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[5] then setElementPosition(localPlayer,1800.00000,-2470.58813,13.55469) outputChatBox("#FFFF00 | | تم نقلك الى المطار 1 ||",255,255,255,true) end end) -------- المطار 2 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[6] then setElementPosition(localPlayer,1458.82349,1247.05884,10.82031) outputChatBox("#FFFF00 | | م نقلك الى المطار 2||",255,255,255,true) end end) --------- المطار 3 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[7] then setElementPosition(localPlayer,-1364.70593,0.00000,14.14844) outputChatBox("#FFFF00 | | تم نقلك الى المطار 3 ||",255,255,255,true) end end) --------- البداية addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end) --------- ساحه الرفع addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end)
-
طيب + الازرار وش وضعهم --[[------------------------------------------------- Notes: > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. --]]------------------------------------------------- GUIEditor = { button = {}, window = {}, staticimage = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(149, 80, 526, 441, "وزارة طرب للهجولة والاسلحة : مود الانتقالات", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 15, 507, 416, ":guieditor/images/examples/Hajola1.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(8, 18, 104, 60, "استراحة طرب", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(135, 23, 96, 55, "النخيل", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(255, 21, 99, 57, "الدائري", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(391, 24, 101, 54, "البنك", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(4, 132, 103, 48, "المطار 1", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(136, 133, 95, 47, "المطار 2", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(245, 133, 105, 47, "المطار 3", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(200, 200, 129, 75, "البدايه", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(374, 132, 100, 48, "ساحة الرفع", false, GUIEditor.staticimage[1]) GUIEditor.button[10] = guiCreateButton(3, 226, 94, 49, "ساحة التفجير", false, GUIEditor.staticimage[1]) GUIEditor.button[11] = guiCreateButton(108, 227, 82, 48, "مكتب العقارات", false, GUIEditor.staticimage[1]) GUIEditor.button[12] = guiCreateButton(343, 211, 75, 50, "سلحه قتال", false, GUIEditor.staticimage[1]) GUIEditor.button[13] = guiCreateButton(425, 213, 67, 48, "المعرض", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(0, 282, 299, 72, "جميع الحقوق محفوظة لسيرفر طرب للهجولة والحرب", false, GUIEditor.staticimage[1]) guiEditSetReadOnly(GUIEditor.edit[1], true) GUIEditor.button[14] = guiCreateButton(265, 149, 93, 44, "المطار 3", false, GUIEditor.window[1]) end ) bindKey ( "F6" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) ---------------------- استراحة الطرب addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[1] then setElementPosition(localPlayer,-689.57080,949.37488,12.17489) outputChatBox("#FFFF00 | | تم نقلك الى استراحه الطرب||",255,255,255,true) end end) ---------- النخيل addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[2] then setElementPosition(localPlayer,2088.34546,960.59888,10.71577) outputChatBox("#FFFF00 | | تم نقلك الى النخيل ||",255,255,255,true) end end) ------------------الدائري addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[3] then setElementPosition(localPlayer,1823.44202,872.06281,10.72149) outputChatBox("#FFFF00 | | تم نقلك الى الدائري ||",255,255,255,true) end end) -------- البنك addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[4] then setElementPosition(localPlayer,590.46967,-1241.27686,17.88795) outputChatBox("#FFFF00 | | تم نقلك الى البنك||",255,255,255,true) end end) --------- المطار addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[5] then setElementPosition(localPlayer,1800.00000,-2470.58813,13.55469) outputChatBox("#FFFF00 | | تم نقلك الى المطار 1 ||",255,255,255,true) end end) -------- المطار 2 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[6] then setElementPosition(localPlayer,1458.82349,1247.05884,10.82031) outputChatBox("#FFFF00 | | م نقلك الى المطار 2||",255,255,255,true) end end) --------- المطار 3 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[7] then setElementPosition(localPlayer,-1364.70593,0.00000,14.14844) outputChatBox("#FFFF00 | | تم نقلك الى المطار 3 ||",255,255,255,true) end end) --------- البداية addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end) --------- ساحه الرفع addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end)
-
يا شباب عملت لوحه انتقالات بس شو مشكلتها شوفوها --[[------------------------------------------------- Notes: > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. --]]------------------------------------------------- GUIEditor = { button = {}, window = {}, staticimage = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(149, 80, 526, 441, "وزارة طرب للهجولة والاسلحة : مود الانتقالات", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 15, 507, 416, ":guieditor/images/examples/Hajola1.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(8, 18, 104, 60, "استراحة طرب", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(135, 23, 96, 55, "النخيل", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(255, 21, 99, 57, "الدائري", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(391, 24, 101, 54, "البنك", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(4, 132, 103, 48, "المطار 1", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(136, 133, 95, 47, "المطار 2", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(245, 133, 105, 47, "المطار 3", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(200, 200, 129, 75, "البدايه", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(374, 132, 100, 48, "ساحة الرفع", false, GUIEditor.staticimage[1]) GUIEditor.button[10] = guiCreateButton(3, 226, 94, 49, "ساحة التفجير", false, GUIEditor.staticimage[1]) GUIEditor.button[11] = guiCreateButton(108, 227, 82, 48, "مكتب العقارات", false, GUIEditor.staticimage[1]) GUIEditor.button[12] = guiCreateButton(343, 211, 75, 50, "سلحه قتال", false, GUIEditor.staticimage[1]) GUIEditor.button[13] = guiCreateButton(425, 213, 67, 48, "المعرض", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(0, 282, 299, 72, "جميع الحقوق محفوظة لسيرفر طرب للهجولة والحرب", false, GUIEditor.staticimage[1]) guiEditSetReadOnly(GUIEditor.edit[1], true) GUIEditor.button[14] = guiCreateButton(265, 149, 93, 44, "المطار 3", false, GUIEditor.window[1]) end ) bindKey ( "F6" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) ---------------------- استراحة الطرب addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[1] then setElementPosition(localPlayer,-689.57080,949.37488,12.17489) outputChatBox("#FFFF00 | | تم نقلك الى استراحه الطرب||",255,255,255,true) end end) ---------- النخيل addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[2] then setElementPosition(localPlayer,2088.34546,960.59888,10.71577) outputChatBox("#FFFF00 | | تم نقلك الى النخيل ||",255,255,255,true) end) ------------------الدائري addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[3] then setElementPosition(localPlayer,1823.44202,872.06281,10.72149) outputChatBox("#FFFF00 | | تم نقلك الى الدائري ||",255,255,255,true) end end) -------- البنك addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[4] then setElementPosition(localPlayer,590.46967,-1241.27686,17.88795) outputChatBox("#FFFF00 | | تم نقلك الى البنك||",255,255,255,true) end end) --------- المطار addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[5] then setElementPosition(localPlayer,1800.00000,-2470.58813,13.55469) outputChatBox("#FFFF00 | | تم نقلك الى المطار 1 ||",255,255,255,true) end end) -------- المطار 2 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[6] then setElementPosition(localPlayer,1458.82349,1247.05884,10.82031) outputChatBox("#FFFF00 | | م نقلك الى المطار 2||",255,255,255,true) end end) --------- المطار 3 addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[7] then setElementPosition(localPlayer,-1364.70593,0.00000,14.14844) outputChatBox("#FFFF00 | | تم نقلك الى المطار 3 ||",255,255,255,true) end end) --------- البداية addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end) --------- ساحه الرفع addEventHandler("onClientGUIClick", root, function (button, state, absoluteX, absoluteY) if source == GUIEditor_Button[8] then setElementPosition(localPlayer,831.39789,-1967.23193,12.86719) outputChatBox("#FFFF00 | | تم نقلك الى البداية||",255,255,255,true) end end) يقلي الخطا الحين unexpected symbol near ')' وكمان ما تفتح الوحه بس اضغط الضغطه بالله صححولي اياها ابي رد سرررييييع
-
مهو الكول شيب الي معلق عليه ما اعرف استخدمه
-
تزير تعرف الكول شيب كيف يعملوه ؟
-
بس نزيد الضعف ولا نقص منها ولا نضرب انا ما فهمت انت قلت بس شوف النتيجه وعطيتنا انه فقط 150 يزيد طيب ذي المعادله لو مثلا انا عندي 50 10 90 تصير 50 + 150 = 200 10 + 150 = 160 90 + 150 = 240
-
اعطوني اي موضوع يعلمني الكول شيب
-
السلام عليكم بسئلكم سؤال الحين اقدر انا احط حصان في العبه ام تي اي واقدر اركب فيه كوظيفه او مستاجر واذا بقدر كيف راح احطه واركب الشخضيه عليه مثل جراند سان اندس شوفو هل مود فيها ولا حد يقول خيالي واسع لان بشوف عنجد مبرمجين كبار بيصنعو اشياء من الخيال
-
ببس هو مو حاط شو الضغطه الي تشغل المود ولارتفاع لابيه يا نوب
-
ببس هو مو حاط شو الضغطه الي تشغل المود ولارتفاع لابيه يا نوب
-
ذا شو يفيدني انا ابي بكرا انا اصنع المودات مو مود يصنعلي اياهم انا حابب اعرف كيف بطريقه العاديه
-
??????????????? ما احد راح يساعدني بل كول شيب ذا المنوب يقلي كيف اعمله
-
function pedLoad () function onEnter(player) createPed ( modelid, x, y, z ) warpPedIntoVehicle(thePed,vehicle) removePedFromVehicle(theprisoner) end end addEventHandler ( "onResourceStart", getResourceRootElement(), pedLoad )
-
createColSphere(x,y,z,fRadius) الفنكش جاهز بس كيف راح اعرف الاحداثيات المساحه للكول شيب كيف بضربها؟
-
بس انا معرف احسب المساحه للكول شيب لو احداثيات يب بس كول شيب معرف
-
if getElementType (player) == "player" then ??? ذا يعمل تحقق؟
-
طيب قلي طريقه عمل تحقق للاعب؟؟
-
المشكله انه هو يرجعني نفس المكان الي هي البدايه بس اكتب الكلمه مره ثانيه يخلني بمحلي يظل بل بدايه ما يخرج الاعب من المقر