Jump to content

Simba

Members
  • Posts

    577
  • Joined

  • Last visited

Everything posted by Simba

  1. او لو تسوي تاااب وحدة للوقت وحده للجو
  2. يعني مثلا مود يطلب صلاحيات الادمن وانا من قروب الكونسول لازم اضيف نفسي لقروب الادمن ؟؟؟ ومثلا بعض المودات صلاحيات. ادمن وبعضها كونسول ... الخ. ؟؟
  3. طيب هنا للي في قروب الادمن بس ينفع للي في قروب الكونسول
  4. السلام عليكم .. ممكن شرح الي يقول (اعطي المود صلاحية الادمن كيف اعطيه ؟؟ من الاسل وش اسوي بالاسل طيب
  5. مود رائع مثل الي سويته انا بس انا بدون وقت (الساعه) وكان فيه بس4 اجواء ضباب مطر غبار ! والايدي حقه 19 سماء صافية
  6. ليه ما يسوي كول شيب يا تااابل ؟؟ كول شيب يصير احسن لو هو بيحتل منطفة مثلا
  7. هذا هي الاكوااد client GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(167,84,540,480,"لوحه الانشاء",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(31,48,195,83,"سيارة",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(158,167,5,5,"",false,GUIEditor_Button[1]) GUIEditor_Button[3] = guiCreateButton(292,48,195,83,"طياره",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(292,203,195,83,"دراجه صغيره",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(31,198,195,83,"قارب 1",false,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(31,337,195,83,"قارب 2",false,GUIEditor_Window[1]) GUIEditor_Button[7] = guiCreateButton(292,335,195,83,"دراجه كبيرة",false,GUIEditor_Window[1]) ----- guiSetVisible(GUIEditor_Window[1],false) bindKey ( "F7" , "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 ( ) local x, y, z = getElementPosition ( localPlayer ); if ( source == GUIEditor_Button[1] ) then triggerServerEvent ( "giveCar", 429, x, y, z ); elseif ( source == GUIEditor_Button[3] ) then triggerServerEvent ( "giveCar", 487, x, y, z ); elseif ( source == GUIEditor_Button[4] ) then triggerServerEvent ( "giveCar", 481, x, y, z ); elseif ( source == GUIEditor_Button[5] ) then triggerServerEvent ( "giveCar", 595, x, y, z ); elseif ( source == GUIEditor_Button[6] ) then triggerServerEvent ( "giveCar", 473, x, y, z ); elseif ( source == GUIEditor_Button[7] ) then triggerServerEvent ( "giveCar", 510, x, y, z ); end end ); server >>! cTable = { }; addEvent ( "giveCar", true ); addEventHandler ( "giveCar", function ( ID, x, y, z ) if isElement ( cTable [ client ] ) then destroyElement ( cTable [ client ] ) cTable [ client ] = nil end cTable [ client ] = createVehicle ( ID, x, y + 2, z ); end ); addEventHandler ( "onPlayerQuit", root, function ( ) if isElement ( cTable [ source ] ) then destroyElement ( cTable [ source ] ); end cTable [ source ] = nil end ); addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) destroyElement ( source ); end ); meta .. هذا رابط للمود عشان اذا تبي تحمله http://www.gulfup.com/?1gHZ5L
  8. والله يا كينق حذفت سطر رقم ٩ واخذت الاكواد الي حاطها انت بالرد كود جعفر بس ما اشتغلت والله
  9. GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(167,84,540,480,"لوحه الانشاء",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(31,48,195,83,"سيارة",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(158,167,5,5,"",false,GUIEditor_Button[1]) GUIEditor_Button[3] = guiCreateButton(292,48,195,83,"طياره",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(292,203,195,83,"دراجه صغيره",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(31,198,195,83,"قارب 1",false,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(31,337,195,83,"قارب 2",false,GUIEditor_Window[1]) GUIEditor_Button[7] = guiCreateButton(292,335,195,83,"دراجه كبيرة",false,GUIEditor_Window[1]) ----- guiSetVisible(GUIEditor_Window[1],false) bindKey ( "F7" , "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 () local x,y,z = getElementPosition(localPlayer) if ( source == GUIEditor_Button[1] ) then createVehicle ( 429, x,y,z ) outputChatBox("سياره") elseif ( source == GUIEditor_Button[3] ) then createVehicle ( 487, x,y,z ) outputChatBox("طائرة") elseif ( source == GUIEditor_Button[4] ) then createVehicle ( 481, x,y,z ) outputChatBox("دراجة") elseif ( source == GUIEditor_Button[5] ) then createVehicle ( 595, x,y,z ) outputChatBox("لقارب") elseif ( source == GUIEditor_Button[6] ) then createVehicle ( 473, x,y,z ) outputChatBox("لقارب") elseif ( source == GUIEditor_Button[7] ) then createVehicle ( 510, x,y,z ) outputChatBox("دراجه كبيرة") end end) هنااااا يعطيني سياره بس ما اقدر اركبها لانها كلنت وهميه يعني لازم اسوي ترايقر انا عادي ابغا بس اضغط على الزر تجيني السياره بدون ما يركبها تلقائي يعني لاااا تحط وااارب
  10. ولا كوووووود شغاااااال كلهم اضغط على الزر بس يطلعون كلام بالشات مايعطوني شيئ وبعضهم مثل كود جعفر لا يطلع كلام ولا يطلع سياره --- عندي لوحة ببضغط على زر تعطيني سياره بس ما تعطيني الاكواد ما تشتغل
  11. اتوقع ان كلنت وهمي وهمي ؟؟ يسحبه لتحت السياره مثلا خخخ غريبة
  12. السلام عليكم ,,,,, addEventHandler ("onclientGUIClick", getRootElement(), function () if source == GUIEditor_Button[1] then local x,y,z = getElementPosition(player) createVehicle ( 429, x,y,z ) outputChatBox("سياره") elseif source == GUIEditor_Button[3] then createVehicle ( 487, x,y,z ) outPutChatBox("طائرة") elseif source == GUIEditor_Button[4] then createVehicle ( 481, x,y,z ) outPutChatBox("دراجة") elseif source == GUIEditor_Button[5] then createVehicle ( 595, x,y,z ) outPutChatBox("لقارب") elseif source == GUIEditor_Button[6] then createVehicle ( 473, x,y,z ) outPutChatBox("لقارب") elseif source == GUIEditor_Button[7] then createVehicle ( 510, x,y,z ) outPutChatBox("دراجه كبيرة") end end) الكو ما يشتغل اللوحه تشتغل بس لما اضغط على الزر ما تجيني سياره الاكواد كلينت انا حاطها سويت لوحه وبها ازرار اضغط على الزر تجيني السياره الفلانيه بس انا اضغط على الزر ما يصير شي
  13. جربت الكود ما اشتغغغل !! كتبت في اف 8 فلوس ولا صار شي شف الميتا "server.lua" type="server" /> شغلت المود من الادمنيه ولا صار ---- مهي اول مره دائما كذا ب كل الاكواد المجلد صيغه zib ولا صار
  14. عادي كذا ؟؟ addCommandHandler( "فلوس", function( player ) givePlayerMoney ( player, 3000 ) end ) بدل الفراغ يعني
  15. addCommandHandler("فلوس", function (player) givePlayerMoney ( thePlayer, 3000 ) end) سويت كذا صح ؟
  16. يقول اكتب اسم اللاعب !! قصده لاعب محدد ## the player you are giving the money to
  17. givePlayerMoney السينتكس bool givePlayerMoney ( player thePlayer, int amount ) thePlayer -- يقول اللاعب طيب انا ما ابي اللاعب ابي الي يكتب الامر
  18. السلام عليكم ورحمه الله وبركاته ابي فنكشات لما اي احد يكتب في اف 8 فلوس تجيه فلوس (انا احددها ) وتكون الفلوس حقيقه يقدر يشتري فيها وكل شي
×
×
  • Create New...