Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 15/01/18 in all areas

  1. A primary security measure anyone with common sense would take: log everything. Absolutely everything. If you're a server owner, you know what you're dealing with; lots of players, lots of possible bugs and bad intentions. Yeah, they don't mix well. So, some time ago I have made this small and easy but really useful script which stores logs of whatever you want by just using an exported function. You won't have to worry about anything at all but the contents of the log , it creates a log if it does not exist, and if it exists the entry will appear at the next line. Each entry stores the time and date so you know when it all happened. You can choose to keep or to remove the color-codes, which is useful for chat logs or player names, for example. [SYNTAX] exports.easylogger:addLogEntry (text,logname[,removecolorcode]) - text: The text. - logname: The name of the log. - removecolorcode: Whether to remove colorcodes or not. Set to true to remove, false otherwise. [EXAMPLE] exports.easylogger:addLogEntry("Hello world!","logfile1") This would store the "Hello world!" text into a logfile called "logfile1.log". This has been very useful to me, I've catched plenty of people doing shady things like abusing a money system by tracking the transactions, the teamchat and localchat of my server. So, really hope it helps you too. Community download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=15153
    2 points
  2. السلام عليكم ورحمة الله تعالى وبركاته تم الأنتهاء من عمل نظام التاجات الجديد والحصري ~ الفيديو الخاص بالسكربت : يستحسن مشاهدة الفيديو لمعرفة كيفية استخدام السكربت وازالة التكرار مع سكربت التاجات العادية ( تاجات الرتب ) .! مميزات هذا السكربت عن باقي السكربتات المشابهه له : - إمكانية تفعيل \ الغاء تفعيل التاج - يعني إنك تقدر تكتب بأف 8 myTag عشان تخلي التاج متفعل او العكس اذا متفعل وتتكلم بالشات يطلع تاجك والعكس يطلع تاج الرتب ^ - امكانية رؤية الأشخاص اللي مفعلهم الأدمن - يعني انك تقدر من لوحة ادارة التاجات تشوف الناس اللي مفعلهم تشوف تاجهم , اسمهم , السيريال , والحالة الخاصة بالتاج | متفعل \ ملغي - عدم القدرة على وضع تاج بدون مايتم التحقق الكامل من السيريال والتاج - يعني انك ماتقدر تحط التاج لاي شخص .. إلا تضغط زر التحقق من السيريال + معاينة التاج ومن ثم الموافقة او الرجوع للوحة الأصلية طبعا معاينة التاج لو طلع التاج كبير راح يجيك بالشات تنبيه يقولك التاج طويل , طبعا تقدر تحطه للاعب بس يجيك عشان ينبهك ^ صورة اللوحة الرئيسية : طبعا كيف نشيل التكرار مع مود التاجات العادية ؟ ( تاجات الرتب ) , نحط الكود التالي : local systemDBconnect = dbConnect( 'sqlite', ':TagsSystem-Professional_v01/[TAGS system] Database.db' ) local checkTag = dbQuery( systemDBconnect, ' SELECT * FROM `TagsSystemPro` WHERE serial = ? ', getPlayerSerial( source ) ) local dbValues = dbPoll( checkTag, -1 ) if ( type( dbValues ) == 'table' and #dbValues ~= 0 ) then local state = dbValues[1]['state'] if ( state == 'Enabled' ) then return end end نحط الكود مثل ما بالصورة الكود : المكان اللي نحطه فيه في ملف التاجات : --------------------------------------- الأصدار الحالي من السكربت : 1.0 لتحميل الإصدار : http://www.mediafire.com/download/pkp7x ... al_v01.zip إنضم معنا في MTA العرب : https://www.facebook.com/groups/luaprofessional للتواصل : Skype : kamel1234128 Facebook : http://www.fb.com/MR.GRAND0 Email : [email protected] الإهداءات : 1 - TAPL 2 - MR.SAUD 3 - MR.SAAD 4 - iMr.WiFi..! 5 - 1XxCr{o}sS 6 - SaedAmer 7 - #Le3bA 8 - Ma[Z]en 9 - Emgawe.117 10 - NssoR 11 - ♯~|StrΘnG|~. 12 - Ahmed Ly 13 - shwaeki 14 - #Mr.Rajo~,< 15 - Mr.Ronaldo 16 - Mr.CoR 17 - HasoN 18 - Soking 19 - EH10 20 - Default 21 - DABL 22 - justboy 23 - MoDeR2014 24 - x',iM7MD 25 - #,+( _xiRoc[K]; > 26 - DTC12 27 - #|_oskar_|# 28 - mouamle-hassan 29 - Abdul KariM 30 - 00 - الباقي في القلب
    1 point
  3. Hey ! This is a "remake" of my old resource. It contain the classic mysteries from the singleplayer mod, "Misterix Mod" made by Zeb89 & Automan. ----> DOWNLOAD HERE <---- Updates: * General code changed * Added a special reward * Blips removed ( hidden mysteries ) * Mysteries can't swim * Nemesis's weapon changed * Removed Aliens and CJ's mother ( I will add them later ) * Fixed anti-escape error * Classic Models * Independent resource IMAGES:
    1 point
  4. This is not an official build yet, and still needs some testing, but... Built using a Windows 10 Insider Preview SDK, with an updated version of Boost, and a whole lot of wasted time. More to come soon...
    1 point
  5. Opening January 1st, 2018 (( Based now in Bone County, Fort Carson. )) Introduction to the Republic of San Andreas The above is merely a snippet of the world being created for our server, with the full story of it being found here. We at Legacy take great pride in developing a roleplay experience unique to our own community, in an attempt to stand out from the many servers operating on a similar familiar to the next server. Our Administration Team divided and with proper delegation work hard to ensure you the player, that Legacy Roleplay is the server that you can feel comfortable enough to make a home for yourself. A few features of our server can be found below; UCP and Script Features And much much more... Why should I play Legacy? Well, there isn't one reason we at Legacy believe you should roleplay with us, but a multitude of reasons we shall sum up in bullet points. Friendly and Responsive Staff. Our staff is responsive to the needs of the community, and you can be sure to always find a voice of reason within the team if you ever have a dispute or concern that you feel needs to be brought up. An IC State Government. All affairs for government and legal factions will fall under the direction of an IC State Government as detailed here. Factions will actually have internal budgets, and the IC State Government will be in charge of matters relating to funding, removals, etc to avoid OOC administration in cases it's unnecessary. Bills are also voted regularly as can be seen here. A full outline of it can be found here too. Actions have consequences. PS runs out of money, then they'll have to take IC actions like striking, or other means to get money if the government won't provide more. Vehicles getting destroyed also have zero OOC protections, so if they get destroyed they are deleted. The point is, OOC protections on things do not exist in Legacy. If it happens, it will be dealt with ICly. A dynamic not commonly seen in servers. Dynamic Weapon and Drug Supply System - This is all explained here. We're here to roleplay, and rather then spawning things out of thin air for people to have them we're taking the initiative to create roleplay with it in a manner consistent with the server story to make it fun and inclusive for everyone. Lack of unintelligent trolls or intolerable behavior. With our Character Creation system, no longer will you have characters regularly disregarding their life and making new characters in seconds. Every character must have a backstory, and must be approved by an admin on the UCP before even connecting to the server. Ensuring that we keep a standard of professional english, and intelligent roleplayers while weeding out the bad. Immersive roleplay experience. As can be seen in this topic. We have worked hard to create a world that allows us the freedom we need to do as we wish, without restrictions of the real life world in all aspects which can at times serve as an unnecessary hindrance in the types of roleplay we wish to engage in. Fully fleshed out Legal Virtual Market and Illegal Virtual Market. Along with systems to give players free businesses that are player-run. Full IC Lore, for how Saint Andrews came to be. Bug fixes are quick, and can be easily tracked by players here. We value roleplay, over stat-whoring. Jobs have cooldowns to prohibit the endless grinding of jobs, in order to encourage players to seek out roleplay opportunities to make money. Many, many, more. We cannot in this small post, detail all the neat mechanics behind the scenes, but we at Legacy really value creativity in our roleplay. And we do not wish to unnecessarily hinder potentially mindblowing types of roleplay that in most cases would be restricted by numerous OOC regulations, bias, or other reasons that lead to you having an unsatisfying experience. Additional Screenshots ]] ' ' Pass the Information Website: http://legacyroleplay.net/ Forums: http://forums.legacyroleplay.net/ Discord: http://discord.gg/ZddCPxp We hope that you will join us and stay with us for all your roleplay needs. Thank you for reading, and see you at Legacy Roleplay!
    1 point
  6. function getPL(team) local t = { } local player = getPlayersInTeam(team) for i,v in pairs(player) do if not isPedDead(v) then table.insert(t,v) end end return t end function aSetPlayerFrozen( player, bool) if isElement( player ) then toggleAllControls ( player, not bool, true, false ) local vehicle = getPedOccupiedVehicle( player ) if vehicle then setElementFrozen ( vehicle, bool ) end end end local teamname = 'اسم التيم' addCommandHandler("freezeall", function(playerSource) if hasObjectPermissionTo(playerSource,"function.kickPlayer",true) then for i, v in ipairs(getPL(getTeamFromName(teamname))) do if getElementData(v,"frozenped") == "false" or not getElementData(v,"frozenped") then aSetPlayerFrozen ( v, true) setElementData(v,"frozenped","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) else aSetPlayerFrozen ( v, false) setElementData(v,"frozenped","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end end else outputChatBox("FREEZE: #FFFFFFSorry, you do not have the ACL rights to freeze players!",playerSource,255,0,0,true) end end )
    1 point
  7. addCommandHandler("freezeall", function(playerSource,command,teams) if hasObjectPermissionTo(playerSource,"function.kickPlayer",true) then if not teams ~= "" then team = getTeamFromName(teams) if team then for i, v in ipairs(getPlayersInTeam(team)) do if not isPedInVehicle(v) then if getElementData(v,"frozenped") == "false" or not getElementData(v,"frozenped") then setElementFrozen(v,true) setElementData(v,"frozenped","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) else setElementFrozen(v,false) setElementData(v,"frozenped","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end else if getElementData(v,"frozenveh") == "false" or not getElementData(v,"frozenveh") then setElementFrozen(getPedOccupiedVehicle(v),true) setElementData(v,"frozenveh","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) elseif getElementData(v,"frozenveh") == "true" then setElementFrozen(getPedOccupiedVehicle(v),false) setElementData(v,"frozenveh","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end end end else outputChatBox("FREEZE: Team not found",playerSource,255,0,0,true) end else outputChatBox("FREEZE: /freezeall [TEAM NAME]",playerSource,255,0,0,true) end else outputChatBox("FREEZE: #FFFFFFSorry, you do not have the ACL rights to freeze players!",playerSource,255,0,0,true) end end )
    1 point
  8. 1 point
  9. I totally recommend this service! I got a free server now and all I did was posting in their site
    1 point
  10. Current statistics as of 1/14/18 Transfagarasan - 22 Downloads Vehicle testing grid - 26 Downloads Liberty City - 108 Downloads Vice City - 143 Downloads Carmageddon - 25 Downloads Most Downloaded Map - Vice City Least Downloaded Map - Alien City (I think I may have broken it?) Fixed the alien city download, sorry about that I forgot to setup the permissions for it correctly. However alien city may not be the most stable, I'm going to be working on an update for it soon enough that hopefully will vastly improve it.
    1 point
  11. مشكور يا بعدي امين وياك مشكور على الرد الرائع
    1 point
  12. 1 point
  13. Nothing you have done here is yours. This is, in fact, my old server, which was leaked by a rogue scripter who goes by the name of Maxxe. I created all of the mapping and features that isn't already Owl Gaming for this, along with my scripter Junx. Close up and make your own community. "BCRP is back and online!" Yeah no, it's not, this is fake.
    1 point
  14. @MadnessReloaded he's a very good scripter. I totally recommend him.
    1 point
  15. Nice work @Brett But i would suggest you to make your scripts luac or just disable download for them cuz already seen ur sexy character selection in one latvian server, just edited ;(
    1 point
  16. وايق : طالع أشقح : تسلق اندر : اخرج قوام : بسرعة بلكن : يمكن ازهم : نادي مصقر : رجال
    1 point
  17. Ofcourse I'm judging someone for using publicly released scripts ON TOP of a not so publicly released but rather leaked script (valhalla Gaming, owl Gaming, both versions were leaked without owner's permissions). I see absolutely no originality in your script considering you had to add other people's work to make it look more appealing to your playerbase, which is rather sad and funny at the same time. Thanks for enlightening me that scripters put hard work in their scripts and the systems, did not know that, guess that's something you learned while editing other people's work, congratulations mate. And to answer your question, yes I do script.
    1 point
  18. To add to the GTA V HUD they are also using the graffiti system recently added to the community as well and did not note any credits of that on their thread related to the graffiti system. Guess it's always the servers that use someone else's work that get attention on MTA:SA. EDIT: Hell, even the City Hall map is public lol.
    1 point
  19. Owl clone. Uses the public gta5 hud that uses 50% of your cpu. Would not recommend playing if you dont have a modern PC or dedicated graphics card. This is constructive criticism that can be proven.
    1 point
  20. 100000/10 شغل حلو ومتعوب عليه تسلم يدك === بالمناسبة عندك خطاء في كتابة الموضوع *_* لا تنسي تكتب باف 8 الخطاء هو حرف : ي بدله ب : ى
    1 point
  21. Opening day went great. Screenshots such as this occurred:
    1 point
  22. السلام عليكم ورحة الله وبركاته اليوم بسويلكم شرح عن الويكي وكيفية التعامل معها بدون مقدمات بسم الله الرحمان الرحيم أولا رابط الويكي: https://wiki.multitheftauto.com/wiki/Main_Page اول ما تدخل الويكي رح تشوف الصفحة هاذي كمبتدأ رح تحتاج بس الي بالمربع الأحمر وش هاذي الصفحات ؟ هاذي اقسام الفنكشنات والاحداث Client Functions = الوظائف الي للكلينت (ممكن تلاقي فنكشنات ينفع تستعملها للسيرفر والكلينت) Client Events = الاحداث الي للكلينت Server Functions = الوظائف الي للسيرفر (ممكن تلاقي فنكشنات ينفع تستعملها للسيرفر والكلينت) Server Events = الاحداث الي للسيرفر وظائف الكلينت-Client Functions ندخل نشوف هاذي الصفحة هاذي اقسام الوظائف يعني مثلا انت تبي وظائف العلامات على الخريطة تدخل على 2 Blip functions وتشوف كذا اذي هي وظائف العلامات على الخريطة الحين تعلمنا كيف نبحث عن الفنكشنات الحين ندخل لوظيفة رح ندخل GetBlipSize رح نشوف اسم الوظيفية ولون ازرق وش هذا اللون هاذ اللون يعني انه الوظيفة يمكن ان تستخدم في الكلينت والسيرفر اما اللون البرتقالي فهي للسيرفر فقط اما احمر فهي للكلينت فقط هنا نشوف شرح عن الوظيفة ببساطة وهو يجيب لك حجم العلامة . . . نجي للساينتكس وهو عبارة عن مبنى الوظيفة وهنا رح تواجهوا كلمات مثل int=رقم بدون فاصلة عشرية(اذا كتبت مع فاصلة رح يحسب بس الرقم بدون الفاصلة) bool/Boolean = true/false لازم نكتب Element = لاعب=player الترجمة الحرفية هي عنصر مثلا Float = عدد ممكن مع فاصلة عشرية ما بالوظيفة الي معنا ما في غير blip =Element نوع من ال https://wiki.multitheftauto.com/wiki/Element Required Argumentsنروح لل رح اسميها المستلزمات يعني الوظيفة ما رح تشتغل بدونها في نوعين نوع يكون بقوس مربع[]هاذي مو اجباري اما الي مو بالقوس المربع لازم تتواجد بالكود او ما رح يشتغل مثلا بهاذي الوظيفة بس موجود theBlip: The blip you wish to get the size of. يعني العلامة الي تبي تجيب حجمها الحين Returnsنروح ال وهي وش الكود رح يرجعلك اذا نجح بهاذ الوظيفة رح يرجعلك حجم العلامة بدون الفاصلة العشرية وخيرا يجيبلك مثال عالوظيفة نروح للأحداث ولي هي اذا صارت تشتغل الوظيفة اول ما نختار وظيفة رح تظهر هاذي الصفحة الاحداث زي الوظائف بس ما في احداث مشتركة(بلون ازرق) رح يكون شرح للحدث ولي هو اذا بدأ الاعب بدخول السيارة الحين نروح للباراميتير والي هي اذا صار الحدث راح يعطيك المعطياات بالنسبة للحدث الي اخذته enteringPlayer: الاعب الي بيدخل السيارة seat: المقعد الي راح يدخله الاعب jacked: الاعب الي بتحكم بالسيارة door: من أي باب دخل 0= باب السائق 1= باب الي جنب السائق 2= باب الخلفي اليسار 3= باب الخلفي اليمين نروح الحين للسورس ولي ترجمته الحرفية هي المصدر مصدر الحدث ولي هي السيارة بالحدث الي معي الحين نروح لالغاء الحدث والي هو اذا الاعب استخدم cancelEvent() If this event is canceled, the player will not enter the vehicle اذا استخمنا الفنكشن cancelEvent() رح يلغي عملية دخول السيارة وما راح يدخل وأخيرا رح يعطيك مثال عالحدث وبس أتمنى انكم استفدتم وبالتوفيق للجميع
    1 point
  23. Hey, Actually, I should have this topic posted on SA:MP forum, but I don't get my account confirmed and in this forum you get insta confirmation. So, this is a script of player timer after his death. What I am asking for is how to represent that timer on screen. With a string. I'm a beginner at scripting so don't mind if there are any mistakes. This is the code when the player dies: public OnPlayerDeath(playerid, killerid, reason) { if(killerid == INVALID_PLAYER_ID) { GameTextForPlayer(playerid,"You are dead",5000,2); GivePlayerMoneyA(playerid,-500); SetTimer("RespawnHospital", 3500, 0); return 1; } return 1; } These are the callbacks: public RespawnHospital(playerid) { SetSpawnInfo(playerid,GetPlayerTeam(playerid),GetPlayerSkin(playerid),322.197998,302.497985,999.148437,275.7301,0,0,0,0,0,0); GetGender(playerid); SetPlayerInterior(playerid, 5); SpawnPlayer(playerid); SetTimer("DEAD1", 60000, 0); return 1; } public DEAD1(playerid) { SetPlayerHealth(playerid,100); SetPlayerPos(playerid,1242.1780,328.2336,19.7555); SetPlayerInterior(playerid,0); SendClientMessage(playerid,WHITE,"* You have been healed."); return 1; } Thank you in advance, LIOLIKAS.
    0 points
  24. عن نفسي .. ماعندي وقت أشرح كل شيء بالتفصيل ): وفي نفس الوقت المبرمجين في تناقص بسبب اللعبة . اللعبة صايرة جامدة بمكانها والحين هي منحدرة للحذف أو تقدر تقول قريبة وتنقرض فـ لا تتعب نفسك وتحاول تبرمج في لعبة منتهية * تعلم البرمجة الفعلية في برمجة المواقع أو التطبيقات وإلخ وبتوفيق
    0 points
  25. Thanks a ton @Dutchman101 I made a static IP address and added it to the "DMZ zone" and now its working. Thanks again.
    0 points
×
×
  • Create New...