Leaderboard
Popular Content
Showing content with the highest reputation on 23/08/17 in Posts
-
So i joined the server today (my luck), i was there for around 15-20 mins and then i got disconnected and server went offline for me. It was really AMAZING experience. Each thing in the server is well created. We don't get bored even if there is no other player online. I never go on servers having loads of mods and 30mb+ download, i checked out yours and it was worth. Really Loved it, good luck!2 points
-
ranks = { -- الرتب اللي تفتح اللوحه {"Console"}, {"AP"}, } function cOpen (player) local accName = getAccountName( getPlayerAccount(player) )or nil if accName==nil then return outputChatBox('you should register',player) end for i=1,#ranks do if isObjectInACLGroup( "user."..accName, aclGetGroup ( ranks[i][1]) ) then triggerClientEvent( player, "openadminp", player ) end end end addCommandHandler( "open" , cOpen ) مع اني تفلسفت شوي بالكود كان يمديني اسهله لكن مزاجي رايق شوي زي ما تقول2 points
-
السلام عليكم ورحمة الله وبركاته اتركم مع الفيديو بدون جرجر واجد لا تنسون لايك+اشتراك اطلبو سكربتات +_+ التحميل بالفيديو تحصله بالدسكربشن +_+ نيهاهها شفت كيف انا شرير بخليك تشوف الفيديو يعني تشوفه ههههههههه الاهداءات لجميع من في القلب ولك انت ياللي تشوف1 point
-
Take a look at https://wiki.multitheftauto.com/wiki/Modules/FileSystem - I haven't used it myself so can't say whether it works or not.1 point
-
It's not possible without creating your own server module (I think) Just out of interest why would you need to create a folder there?1 point
-
وبيخرب الكود ._. لأنك مستعمل setPlayerTeam .. وحاط التيم واذا في التيم راح يرجع فولس وبيحط بالارقمنت الثاني فولس وبيخرب الكود ..1 point
-
It was stopped, because it didn't perform significantly better than without JIT. As far as I recall it's related to the context switches between Lua and C++ being too expensive. @Topic: I've recently stumbled upon a language called Haxe. It's a statically typed language that compiles to other (well-known) languages - including Lua where it's syntax is pretty similar to Java. I also did a few experiments which work quite well: https://github.com/Jusonex/haxe-mtasa-typings/blob/master/Main.hx1 point
-
أولاً : القسم غلط والقسم الصحيح هو قسم البرمجة ثانياً : getPlayerSerial فقط سيرفر , وانت واضعها كلنت , !1 point
-
1 point
-
A vector3 holds 3 values and can be declared by using: v = Vector3() It's great for storing positions. (Which I use a lot) Using the above example would create an empty Vector returning (0,0,0) to access the values in the vector we use variables x,y,z: x = v.x y = v.y z = v.z -- x = 0 -- y = 0 -- z = 0 You can even set the values of the vector middleOfMap = Vector3(0,0,-3) To replace "getDistanceBetweenPoints3D" using this method you'd need to minus 1 vector from another and use the ".length" variable: distance = (v-middleOfMap).length The value returned is always absolute so it never goes below 0, meaning it does not matter the order in which you subtract them. which is the same as: direction = (v-middleOfMap) distance = abs(sqrt(direction.x*direction.x+direction.y*direction.y+direction.z*direction.z)) This example gets the distance between 2 players local pos1 = getRandomPlayer( ).position local pos2 = getRandomPlayer( ).position local distance = (pos1-pos2).length print(distance) Also you should check out OOP1 point
-
انا ماني فاهم كيف تحطون كود إنشاء التيم داخل حدث لمس الماركر local ROB = createTeam ( "Rob_Bank", 255,0,0 ) addEventHandler ( "onMarkerHit", f1 , function (element) if ( getElementType(element) == 'player' ) then if ( getPlayerTeam(element) ~= ROB ) then setPlayerTeam ( element , ROB ) else outputChatBox('You are already in the Team !',element,255,0,0,true) end end end)1 point
-
1 point
-
There will be no profits only loss until we add any links or adds on forum ,next thing is partner or sponsors this will reduce some loss the final is forum will get members this will help forum to live in future too and if the owner add homepage then he can earn money to by adding paid plans ! After the forum reach 200+ members mostly all add links so that they can earn money this is the process for giving free servers need popularity and sponsors that's it !sometimes some companies offer freevps ,cpanel,web host by using these free services also there will be no loss !1 point
-
If your recent posts are anything to go by, you're probably using this resource incorrectly. Care to share a better explanation or provide screenshots yourself of the problem you're having?1 point
-
@TrickyTommy as I explained in reply, that's bad practice and you shouldn't do it. What if on the off-chance the clientside didn't load in 2500ms? Then you're screwed. Do it the way I suggested by having an onClientResourceStart which makes a call to the serverside - then you know that the clientside is definitely loaded.1 point
-
@#,+( _xiRoc[K]; > That's bad practice. If you use onResourceStart to trigger it, should create an onClientResourceStart event on the clientside which then calls to the serverside. This ensures the clientside is loaded properly.1 point
-
1 point
-
ranks = { "Console", "AP" } function cOpen(player) local Account = getPlayerAccount(player) if Account and not isGuestAccount(Account) then local AccountName = getAccountName(Account) for _,value in ipairs(ranks) do if isObjectInACLGroup("user."..AccountName, aclGetGroup(value))) then triggerClientEvent( player, "openadminp", player ) end end end end addCommandHandler( "open", cOpen)1 point
-
اعرض الصفحه اللي تبيها تترجم بالويكي وابشر بعزك بترجمها لك +لا تنسى تشترك بقناتي قدد تفيدك بالبرمججه بما اني ما اشفر سكربتاتي https://www.youtube.com/channel/UCdj86RDfGVxRqLY-W0NunoA تم ألاشراك ي حلو1 point
-
DevLog, 08/22/17 Development is slowly, but steadily progressing. We've acquired a new member for the team, expert975, who's managed to solve a problem we've been dealing with for quite some time now. There's no set date for a closed alpha, but rest assured, we are working on it as fast as we can. The Home Screen The screenshot inside the spoiler shows the earlierst version of the "Home Screen", where players will be able to customize their character, check their rewards and statistics and join a match (via that big "PLAY" button). After a while, I realized that the location you see in the screenshot isn't exactly the best one, so I decided to change it into an interior. I've also worked on it some more. The screenshot in this spoiler shows the "STATISTICS" screen, where you can see how well you fare against other players (a leaderboard will be implemented in the near future). Lastly, we decided to introduce "crates" to the game, which contain, depending on their rarity, skins you can apply to your character. You'll also be able to buy crates (the money will be used to fund servers, website, forum, etc). The screenshot below shows the current version. Other fancy stuff that has been included is, for instance, some nice camera movement depending on what option you selected on the home screen (if you compare the last two screenshots, you will notice they show CJ from different perspectives. Now imagine that switch happening while the camera is moving). Stay tuned, we will occasionally update this forum topic with new information, screenshots and a general progress report!1 point
-
موب شرط واحد لازم يعرف انجليزي عشان يعرف يبرمج بالنسبة للترجمة انا اشوف في ناس تترجم من قوقل وفي ناس تترجم وعندها اخطاء انا عربت اكثر من صفحة لكن لو تشوف الصحفات الثانية تلقى فيها اخطاء املائية وانا اشوف الويكي الاجنبي افضل1 point
-
1 point
-
@Rudransh The same thing happened to me, but I tried using VPN, and it worked. It still works for me when the VPN is off now. This server is awesome. I tried it and liked it.1 point
-
The server is a must check! The story behind it is extremely detailed and the fact that every area has something going out in it is just outstanding. I was driving near the Vinewood mansion when I got sniped by Ryder lol, got attacked by some raiders at a small camp, bandits around Los Santos and of course walkers. Every place in the map has it's group of NPCs which is just outstanding and makes it feel so alive to play at it.1 point
-
المشكلة بنسخ القديمة من نوع MYSQL الأشخاص الدين يواجهون هده المشكلة في نسخ الي قبل 5.6.5 لحل هده المشكلة قم بتغيير نوع من datetime الى TIMESTAMP1 point
-
،وبعض الناس يحاولون يبرمجون مثل هالواجهات لكن تواجهم مشاكل، DX هالأيام كثرت الواجهات الي مصممة بوظائف الـ عشان كذا قررت انشر سكربت برمجته من زمان، لكن أعدت برمجته بالكامل مؤخرًأ ،السكربت راح يعطيك إمكانية تسوي نقاط (مساحات معينة من شاشة اللاعب) أو زر لأكون أوضح (focus لما اللاعب يسوي شيء معين على نقطة، يشتغل حدث بالشيء إلي سواه. مثلا: لما يدخل الماوس النقطة ،أو يضغط على النقطة، أو يركز على نقطة (الـ .طبعا في مميزات أكثر بنشرح أول كيف تستخدمه أولًا، السكربت مبرمج على أنه يكون خارجي exports أو من الجدول call بالوظيفة createPoint عشان تبدأ تستخدمه، تسوي استدعاء للوظيفة createPoint(x, y, width, height, relativeToWidth, relativeToHeight, parent) x, y: الإحداثيات width, height: حجم النقطة relativeToWidth, relativeToHeight: nil مقاس الشاشة المنسوب لها الإحداثيات والحجم (الشاشة إلي سويت بها النقطة) عشان يعدل المقاس لكل الشاشات. الاثنين لازم يكونون ارقام أو اثنينهم parent: أب النقطة. تستخدمه بالغالب عشان تخلي أولوية الماوس والضغط لأولاده لو كان الماوس عليهم (في كل هذي الأحداث هو النقطة نفسها source بعد ما تسوي النقطة، تقدر تستعمل هذي الأحداث عليها (ملاحظة: الـ onClientMouseEnterDP, onClientMouseLeaveDP: لما الماوس يدخل النقطة أو يطلع منها onClientDPClick: لما اللاعب يضغط على النقطة :يجي معه برامترين، هم button: (إذا انضغطت بالزر إلي بالنص (إلي ترفع وتنزل به middle أو right-click إذا كان right ،left-click إذا كان left يعبر عن الزر إلي انضغطت به النقطة. يكون state: إذا كان شايل يده عنه upإذا كان اللاعب ضاغط على الزر و down يكون onClientDPDoubleClick: onClientDPClick بنفس حالة button لما اللاعب يضغط مرتين على النقطة، يجي ببرامتر واحد وهو onClientDPFocus: لما اللاعب يركز على النقطة onClientDPBlur: لما اللاعب يشيل التركيز عن النقطة :السكربت يجي مع وظائف ثانية، عشان لو بغيت تعدل على خصائص النقطة، وهي ذول وظائف واضحين من اسمهم getPointPosition(point) setPointPosition(point, x, y) getPointSize(point) setPointSize(point, width, height) getPointParent(point) getPointCreatorResource(point) isMouseOverPoint(point) isPointFocused(point) :ذول يحتاجون توضيح getPointChildren(point) يرجع جدول فيه عناصر أطفال النقطة setPointEnabled(point, enabled) يفعل نقطة أو يعطلها. لما تعطلها يكون الوضع كأنها مو موجودة وبالتالي تجي لنا هذي الوظيفة isPointEnabled(point) setPointParent(point, parent) الحالي للنقطة (لو كان موجود) وراح يكون بدون أب parent النقطة. الأرقمنت الثاني اختياري، ولو ما حطيته راح يشيل الـ parent توضع bringPointToFront(point, getPropagated) (تقدم النقطة للأمام (النقاط إلي بالأمام دايمًا تكون أولوية الماوس لهم getPropagated: يعبر عن هل أن الوظيفة راح تقدم آباء النقطة بعد ولا لا boolean عبارة عن :للتوضيح validatePoint(point) boolean تتحقق إذا كانت النقطة صالحة، ترجع في وظائف ثانية، وقبل وما نشرحهم لازم نشرح شيء أول السكربت راح ينظم لك رندر النقاط وش يعني؟ لما ترسم مستطيل مثلًا، وبعدين ترسم مستطيل فوقه، المستطيل الثاني راح يطلع عليه مب وراه DX في وظائف الرسم ولأنك تبي النقاط الأولاد يطلعون فوق النقاط الآباء، السكربت ينظم لك هذا الشيء كيف؟ لو افترضت عندك هالنقاط لو جينا نسوي لهم رندر بالترتيب، لازم يكون الترتيب كذا عشان تطلع لنا هالنتيجة Point1, Point2, Point4, Point3 لو غيرت الترتيب وسويته كذا Point2, Point3, Point4, Point1 راح يكون كذا طيب كيف تسوي رندر للنقطة؟ لما لازم تسوي رندر للنقطة DXUI-Controller راح يتم استدعائه من السكربت exported function هالـ ،onPointRender في سكربتك اسمه exported function تحط بجيك برامتر واحد وقت الاستدعاء وهو النقطة إلي المفروض يصير لها رندر لأن لو سويت حدث راح يسبب لاق وبكذا ما راح يكون عملي exported function ملاحظة: خليت الرندر في تقدر تعطل رندر النقطة وتفعله بهالوظيفة setPointRenderingEnabled(point, enabled) أو تتحقق إذا كان مفعل ولا لا isPointRenderingEnabled(point) ملاحظة: الرندر مفعل افتراضيًا (السكربت الوحيد إلي يستدعى وقت رندر النقطة هو السكربت إلي سواها (افتراضيًا تقدر تعدل هذا الشيء بهالوظيفة allowOtherResourcesToRenderPoint(point, allow) (داخله (لو كانت موجودة onPointRender تسمح للسكربتات الأخرى بعمل رندر للنقطة، باستدعاء الوظيفة وتقدر تتحقق إذا كانت هالخاصية مفعلة ولا لا بهالوظيفة doesPointCreatorResourceAllowOtherResourcesToRender(point) ملاحظة: للأسف، لم أجد اسم اطول روابط التحميل النسخة الأصلية النسخة المصغرة1 point
