-
Posts
1,647 -
Joined
-
Last visited
Everything posted by iMr.Dawix~#
-
شيل المسافات [ spoiler ] [ /spoiler ]
-
ويظهر لك الي بداخله show هذي تضغط على كلمة
-
وش سويت انت ذبحتنا شوف الي حاطه ذا الكلام spoiler حطه في مثل كذا Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post a reply 11 posts • Page 1 of 1 Return to البرمجة Jump to: Select a forum ------------------ General MTA News Media Site/Forum/IRC/Mantis/Wiki related Non-Help MTA Discussions Other languages General Multi Language discussion Arabic / العربية البرمجة دروس في البرمجة المساهمات الخوادم القسم العام Algerian & Tunisian Balkan Chinese / 中文 Dutch / Nederlands Finnish / Suomi French / Français German / Deutsch Hebrew / עִבְרִית Hungarian / Magyar Italian / Italiano Lithuanian / Lietuvių Polish / Polski Portuguese / Português Tutoriais em geral Programação em Lua Mapas para MTA:SA Ajudas relacionadas ao MTA:SA (Cliente/Servidor) Offtopic Romanian / Română Russian / Русский Скриптинг Уроки / Примеры Помощь / Отчеты об ошибках Серверы Scandinavian (Danish / Dansk, Norwegian / Norsk, Swedish / Svenska) Spanish / Español Scripting Aportes Ayuda relacionada al cliente/servidor Offtopic Turkish / Türkçe Multi Theft Auto: San Andreas 1.x Support for MTA:SA 1.x Client Server Linux-Server http://linux.multitheftauto.com Open Source Contributors Suggestions community.multitheftauto.com Scripting Tutorials Maps Showroom Support Resources Other Creations Custom GUI Themes Other Competitive gameplay Leagues and events Gangs Servers Servers to play on Hosting solutions Other General B.L.A.S.T. Multi Theft Auto 0.5r2 Third party GTA mods Archive Archived Items Older MTA:VC/GTA3 versions General MTA:VC General GTA3:MTA Help area for MTA:VC and GTA3:MTA Known Issues Documentation WIKI - READ THIS FIRST Questions Media MTA 0.4 General 0.3b General WO discussion General MTA Discussion - MTA 0.1/0.2 Alpha General 0.3.5 Screenshot Area - MTA 0.1/0.2 Alpha GTA3:MTA Screenshot Area Mod Suggestions - MTA 0.1/0.2 Alpha Problems and Bugs - MTA 0.1/0.2 Alpha Other GTA Mods MTA built upon Blue platform General Blue discussion Category MTA:VC Screens and movies GTA3 Screens & Movies General GTA3:MTA 0.4 Discussion VC Screens & Movies General MTA:VC MTA:San Andreas Deathmatch Bugs Suggestions MTA:San Andreas Deathmatch General discussion Help area DM Client-side DM Server-side Public beta testing Suggestions Useful topics MTA:San Andreas Race General discussion Add-ons Help area Documentation WIKI - READ THIS FIRST Race Client-side Race Server-side Maps Map Editor Manual Mappers help mappers Showroom General MTA discussion DownTown General Discussion Art & Renders Trash Who is online Users browsing this forum: 3ssol, Al-PRNS, jafar, ZA7F and 2 guests Board index Subscribe topicBookmark topic The team • Delete all board cookies • All times are UTC - 5 hours [ DST ] http://www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain the full copyright we ask you at least leave in place the "Powered by phpBB" line, with "phpBB" linked to http://www.phpbb.com. If you refuse to include even this then support on our forums may be affected. The phpBB Group : 2006 //--> Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group + وش الهدف من انك تحطه؟؟ وش الي تبي توصل له اتوقع انها اكواد صفحة الموضوع + ممنوع المشاركات ورا بعض لا تخالف كثير ! انت في منتدى مو في شات
-
شوف بقولك طريقه حلوه جداً انك ما تبدا تسوي مودات وتفكر وش تبي تتعلمه اول ونستخدمه احنا بكل المودات وشوفه افتح كل مود وشوف ليه حط كذا وليه حط كذا وعدل وجرب واذا شيء عجزت ما فهمته تعال هنا واحنا نفهمك
-
راح يمنع اشياء ومنها attachElements setPedControlState
-
ما غيرت شيء ما تغير اي شيء انت يمكن تقصد اتأكد ان التيم موجود
-
addEventHandler("onPlayerUnmute", root, function() local acc = getPlayerAccount(source) if acc and not isGuestAccount(acc) then if isObjectInACLGroup("user."..getAccountName(acc), aclGetGroup("Admin")) then outputChatBox("هش", source, 255, 0, 0) cancelEvent() end end end) كذا اي واحد تفته له اللوحه << ملقوف addEventHandler("onPlayerUnmute", root, function() local acc = getPlayerAccount(source) if acc and not isGuestAccount(acc) then if hasObjectPermissionTo(source, "general.adminpanel",true) then outputChatBox("هش", source, 255, 0, 0) cancelEvent() end end end)
-
يعني لو انا بدون تيم , راح يسوي لي سباون, الافضل مثل ما قال عناد تتحقق local Team = getPlayerTeam(player) if Team then if Team == getTeamFromName ( "SWAT" ) then طيب ما تشوف الي حاطه انا في كودي؟ if getPlayerTeam (source) == getTeamFromName ("SWAT") then
-
@The Best ! ما فهمت وش تقصد انا ما خليته يسوي سباون الا لتيم سوات
-
هذا مثال ينقص نجوم اللاعب كل ما يموت ينقص 1 addEventHandler("onPlayerWasted",root,function () if getPlayerWantedLevel(source) >= 1 then setPlayerWantedLevel(source,getPlayerWantedLevel(source) - 1)--هنا مو متأكد انه صح end end)
-
هو يبي يسوي فيد مو يلغيه... addEventHandler("onPlayerJoin",root,function () fadeCamera(source,false,1.0,0,0,0) end)
-
أعتقد انك طلبت ما سألت
-
addEventHandler("onPlayerJoin",root,function () fadeCamera(source,true) end)
-
نسيت ابو هديل من الأدامن مشرف اتوقع
-
function spawn(player) if getElementType(player) == "player" then if getPlayerTeam (player) == getTeamFromName("SWAT") then spawnPlayer(player,x,y,z) end end end addEventHandler("onPlayerJoin",root,spawn)
-
مثال اخر client side GUIEditor_Button[2] = guiCreateButton(0.0884,0.3935,0.8027,0.213,"Spawn",true)----انشاء زر addEventHandler("onClientGUIClick",guiRoot,--اضافة حدث اذا ضغط على اي عنصر جوي function ()---وظيفه if source == GUIEditor_Button[2] then---GUIEditor_Button[2] اذا كان عنصر الجوي هو triggerServerEvent("spawn",localPlayer)---ترايقر للسيرفر ينقله للسيرفر end--- if اغلاق الشرط end)----اغلاق الفنكشن والحدث server side addEvent("spawn",true)--- تفعيل اضافة الترايقر النقل الي من الكلنت addEventHandler("spawn",root,--اضافة الترايقر function ()--وظيفه spawnPlayer(source,x,y,z)--- x,y,zيسوي سباون للاعب لـمكان end)---اغلاق وظيفه + الحدث x,y,z تبدله بأحداثيات المكان
-
'onPlayerJoin' spawnPlayer getPlayerTeam getTeamFromName
-
كيف تخلي السكربت يعرفك بسريالك ولا اسمك ولا وش؟
-
Don't تتدخل in شؤون the مشرفين
-
yes بس لازم نعرف وش هي الألمنت داتا
-
marker = createMarker(1925,484,61,"cylinder",2,255,0,255,255) function state (thePlayer) if getElementType(thePlayer) == "player" then if getPlayerTeam (thePlayer) == getTeamFromName( "SWAT" ) then setPedStat(thePlayer,24,989) setElementHealth ( thePlayer, 200 ) setPedArmor ( thePlayer, 100 ) setPedSkin ( thePlayer, 115 ) else outputChatBox("* You most be in 'SWAT' team !",thePlayer,153,0,0,true) end end end addEventHandler("onMarkerHit",marker,state)
