Jump to content

فاّرس

Members
  • Posts

    4,805
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by فاّرس

  1. مو بس انت يا كنق , انا بعض الاوقات ادخلها ما تدخل وبعض الاوقات تدخل ذذ الحين دخلت نص ساعه وما تدخل خخخ احسها سالفه مزاج ذذ
  2. سيرفر حلو ذذ, ولكن مشكلته فيه لآق قوي مره بالبيس مود ذذ , مدري عندي ولا عند الكل ذذ بالتوفيق^
  3. What? This section for Algerian & Tunisian language, do not speak english or another language.
  4. وضح كلامك نفترض انك سويت كذا, setTimer(function() if guiGetVisible(Wnd) then local x,y = guiGetPosition(Button, false) guiSetPosition(Button, x,y+5, false) end end, 50,0) التايمر مفتوح ما راح يجي لآق ؟
  5. مثلا اذا سويت نافذه وضغطت عليها تبيها تنزل لـ تحت وخليت التايمر مفتوح طبعا النافذه بختفي اذا نزلت , ما راح يسبب لآق ؟
  6. addEventHandler("onClientRender",root, function() guiSetText(Name,'name : '..getPlayerName(localPlayer)) end )
  7. For get a name, guiSetText(Name,"Name"..getPlayerName(localPlayer)) and use : onClientRender for get a new name ( if change it ) and why you make table for backgrounds ? and player is not define and showCursoe(true)
  8. التآيمرات ما تجيب لاق الا اذا تكررت ورا بعض بتايمر قليل وقته ,ويكون مفتوح مثل , setTimer(function() guiSetVisible(Wnd,false) end,100,0) setTimer(function() guiSetVisible(Wnd2,true) end,1500,0) setTimer(function() guiSetVisible(Wnd3,false) end,1600,0) setTimer(function() guiSetVisible(Wnd4,true) end,1700,0)
  9. حمل المودات وبتلقاهم , مثآل ذذ, exports.scoreboard:addScoreboardColumn('YourMoney') > exports.scoreboard:addScoreboardColumn('فلوسك')
  10. وش قصتكم ذذ هجوله حرب ...الخ, جيبوا افكار جديده عشان يكون السيرفر مميز وزوار فل ذذ , يعني قيم مود جديد مودآت حصريه , لاني ما اشوف ولا مود جديد بالسيرفر حقكم , ومو قصدي احطم ذذ نصيحه لا اكثر , وبالتوفيق للسيرفر ,
  11. اها آوك يعطيك العافيه ع التوضيح , + ما اشوف التايمرات فيها لاق ذذ
  12. اي شي × اي شي وخلاص؟ انت ما فهمت حدث onClientRender هذا يحدث في كل شغل اللعبة تصدره يعني كل ابديت وش تعتقد onServerRender تصير؟ بس onClientRender كلنت بس ذذ ووظيفه بو الي ما طرحها بتكون سيرفر
  13. في وظيفه onserverRender بس بو ما طرحها ذذ
  14. addEventHandler("onResourceStart",resourceRoot, -- اذا اشتغل المود # function() -- وظيفه # local XML = xmlCreateFile ( "Save.xml", "Welcome" ) -- انشاء ملف # local CreateChild = xmlCreateChild(XML, "Welcome") -- انشاء تشيلد # local CreateChild2 = xmlCreateChild(XML, "Welcome") -- انشاء تشيلد # xmlNodeSetValue ( CreateChild2,"R4y" ) -- نظيف كلام داخل التشيلد # xmlNodeSetValue ( CreateChild,"Best" ) -- نظيف كلام داخل التشيلد # xmlSaveFile ( XML ) -- نحفظ الملف # end -- اغلاق # ) -- اغلاق # addCommandHandler("get", -- نسوي امر # function(plr) -- وظيفه # local XML = xmlLoadFile ( "Save.xml" ) -- نحمل الملف - نفتحه- # if XML then -- تحقق من الملف # local Child = xmlFindChild ( XML, "Welcome", 0 ) -- نجيب التشيلد - الاندكس صفر # local Child2 = xmlFindChild ( XML, "Welcome", 1 ) -- نجيب التشيلد - الاندكس الاول# if Child and Child2 then -- نتحقق من التشيلد # local Get = xmlNodeGetValue ( Child ) -- نجيب القيمه الي بالاندكس صفر# local GetC = xmlNodeGetValue ( Child2 ) -- نجيب القيمه الي بالاندكس الاول # outputChatBox("The Name > "..Get,plr,255,255,0,true) -- نطلعها بالشات # outputChatBox("The Name > "..GetC,plr,255,255,0,true) -- نطلعها بالشات # end -- اغلاق # end -- اغلاق # end -- اغلاق # ) -- اغلاق # جربه وشوف وش يطلع لك بالشآت وبتفهم ذذ
  15. اعتقد تقصد ذآ , local Child = xmlFindChild ( XML, "Welcome", 0 ) تقصد الاندكس , 0 = الاندكس رقم صفر , مثال ذذ, <Welcome> <Welcome>ولكم</Welcome> </Welcome> <Welcome>ولكم</Welcome> = الاندكس رقم صفر طبعا لو حطيت الكود كذا , local Child = xmlFindChild ( XML, "Welcome", 1 ) راح يبحث بالاندكس الثاني , طبعا مافي اندكس ثاني ذذ , لو فيه اندكس ثاني بيكون كذا , <Welcome> <Welcome>ولكم</Welcome> <Welcome>اهلا</Welcome> </Welcome> الاندكس الاول هو , <Welcome>اهلا</Welcome> أتمنى تكون فهمت , واذا عندك اي استفسار انا حاضر
  16. هذا المثال ذذ, addEventHandler("onResourceStart",resourceRoot, -- اذا اشتغل المود # function() -- وظيفه # local XML = xmlCreateFile ( "Save.xml", "Welcome" ) -- انشاء ملف # local CreateChild = xmlCreateChild(XML, "Welcome") -- انشاء تشيلد # xmlNodeSetValue ( CreateChild,"ولكم" ) -- نظيف كلام داخل التشيلد # xmlSaveFile ( XML ) -- نحفظ الملف # end -- اغلاق # ) -- اغلاق # addCommandHandler("get", -- نسوي امر # function(plr) -- وظيفه # local XML = xmlLoadFile ( "Save.xml" ) -- نحمل الملف - نفتحه- # if XML then -- تحقق من الملف # local Child = xmlFindChild ( XML, "Welcome", 0 ) -- نجيب التشيلد # if Child then -- نتحقق من التشيلد # local Get = xmlNodeGetValue ( Child ) -- نجيب القيمه الي فوق # outputChatBox("The Word > "..Get,plr,255,255,0,true) -- نطلعها بالشات # end -- اغلاق # end -- اغلاق # end -- اغلاق # ) -- اغلاق #
  17. تحتاج , onPlayerLogin getPlayerAccount getAccountName outputChatBox xmlLoadFile xmlNodeGetValue xmlSaveFile guiGetText triggerServerEvent
  18. صراحه ما ادري مين افضل , لان , الي اعرفه عن - xmlNodeSetAttribute - انه يحرر التشيلد الي سويته ذذ - اذا كنت ما كنت غلطان ولكن الاسهل والافضل عندي - xmlNodeSetValue
  19. في بعض الاكواد ما تقبل الا بـ تو سترنق , ولكن بعضها يعتبر اساسا سترنق , يعني تحط تو سترنق ولا ما تحطها فيه ما فرقت ذذ انت شوف الويكي ذذ, string getPlayerSerial ( player thePlayer )
×
×
  • Create New...