Jump to content

Omoi

Members
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Omoi

  1. م فهمتك وش المشكله بالضبط , يتأخر الوقت عشان ينمسح الكلام ؟
  2. اخوي اول شي حاول عطاك الاخ @Default ثانيا , كيف تبي النقاط تزداد . انت تزود له ولا لما يكتب كلمه معينه ؟
  3. لو تقصد اللي يطلع لك كم فيه لاعب وشغال او لا https://www.game-state.com/add-server/ من ذا الرابط ^
  4. الله يوفقك , واجبنا نساعد بعض لو اخطينا , ونتعلم من الاخطاء وأشكرك على تفهمك
  5. انت كتبت الترايقر خطا وانا عدلته بس
  6. تفضل اخوي -- Client addEventHandler("onClientGUIClick",root, function () if source == Btn then triggerServerEvent("afkDimens",localPlayer) end end ) -- Server addEvent("afkDimens",true) addEventHandler("afkDimens",root, function() setElementDimension(source, 1) giveWeapon(source,IDWeapon,AmmoWeapon) outputChatBox("# انت الان في العالم الوهمي", source, 0, 0, 0, true) end )
  7. اعذرني سويته استعجال بدون م اراجعه عشان انام
  8. ليه انا مخطيء بالكود ؟ لو كذا ي ليت تصححه
  9. الله يعافيك , لكن زي م قال الرجال خله كذا -- Client addEventHandler ( 'onClientGUIClick' , root , function ( ) if ( source == Button ) then if not ( guiGridListGetSelectedItem ( Gridlist ) ~= -1 ) then outputChatBox("الرجاء تحديد لاعب",255,0,0) return else local Player = guiGridListGetItemText ( Gridlist , guiGridListGetSelectedItem ( Gridlist ) , 1 ) local Money = guiGetText ( EditBox ) if Money == "" then outputChatBox("الرجاء كتابة مبلغ",255,0,0) return else triggerServerEvent ( 'GiveMoney' , localPlayer , Player , tonumber ( Money ) ) end end end end ) -- Server addEvent ( 'GiveMoney' , true ) addEventHandler ( 'GiveMoney', root , function ( Player , Money ) if Money ~= 0 then if Player then local Player = getPlayerFromName ( Player ) givePlayerMoney ( Player , Money ) outputChatBox("تم إعطائك مبلغ "..Money.." من ميزانية السيرفر",Player,255,255,0) end else outputChatBox("يجب ان يكون المبلغ 1 واكثر",source,255,0,0) end end )
  10. Omoi

    طلب

    تفضل اخوي -- Client addEventHandler("onClientGUIClick",root, function() if source == Lock then -- لو ضغط على زر Lock triggerServerEvent("Lock",localPlayer) end end) addEventHandler("onClientGUIClick",root, function() if source == unLock then -- لو ضغط على زر unLock triggerServerEvent("unLock",localPlayer) end end) -- Server addEvent("Lock", true) addEvent("unLock", true) addEventHandler("Lock",root, function() outputChatBox("تم إغلاق الشات",root,255,0,0) addEventHandler("onPlayerChat",root, function() cancelEvent(true) end) end) addEventHandler("unLock",root, function() outputChatBox("تم فتح الشات",root,0,255,0) addEventHandler("onPlayerChat",root, function() cancelEvent(false) end) end)
  11. العفو
  12. جرب ذا addEventHandler("onClientGUIClick",resourceRoot,function() if ( source == addserial ) then guiSetVisible(wndserial,true) guiSetProperty ( wndserial, "AlwaysOnTop", "true" ) elseif ( source == ok ) then guiSetVisible(wndserial,false) local aName = guiGetText ( serial ) if ( ( aName ) and ( aName ~= "" ) ) then if ( string.len ( aName ) ~= 32 ) then return end triggerServerEvent("serial",localPlayer,aName) end elseif ( source == removeserial ) then selected = guiGridListGetSelectedItem(GridBan) if selected ~= -1 then data = guiGridListGetItemText(GridBan, selected,1) triggerServerEvent("removeserial",localPlayer,data) guiGridListRemoveRow (GridBan,selected) end elseif ( source == cancel ) then guiSetVisible(wndserial,false) end end)
  13. وأهم شي اخوي تأكد من خصائص الرتب اللي تعطيها للناس ومقفلها عندها chgpass وكذا ركب مود حماية من اف 8 فيه تلقى كثير
×
×
  • Create New...