Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/08/17 in all areas

  1. Hello. Scince one year I want to publish this smartphone here. There is awesome smart with some base functions, what appeared in previous version. But customizing in settings now removed to make system style more interesting and minimalistic. Also removed lockscreen, because it was useless. What can you do basically with this phone? - Chatting with another players on the server, and send them stickers - Listen music by URL or your local, and switch timeline of the track (progressbar clickable) - Calculate something. Now calculator has history of calculations. - With application "Passport" you can see some information about you. Created for RP modes, but I dont know nothing about RP, and created it just for fun. - In settings you can change desktop image, change System Language [NEW], and read information about developers. - When phone updating, admins can check for updates phone on the air in system settings. Its available in "About" menu, on bottom of app - green text with current version as build. Of course, this resource has API for developers. With it you can: - Create your own applications for phone - Edit some phone settings - Add your own stickers for messenger - Add your own desktop images (276x445px) - Add your own system translations. In file "language.lua" you can find example and there you can add in table your prefered languages. - Manage notifications and etc. There are some pictures of system: Download: GitHub I would like to apologize about my code. Sometimes this is not readable, because it was written about year ago, when I was at school . I wont to optimize this working code, bcs I'm too lazy New Video: Demo (2016): Functions, what you can use to modify your system:
    4 points
  2. فكرة السكربت زي runcode بس أنت راح تطورها ؟
    2 points
  3. Hello there! You found Dystopia: The Incident, an original sandbox post-apocalyptic RPG. Keep reading below and you’ll find out more... Test server: mtasa://46.105.109.59:22008 Discord: https://discord.gg/Zs5bWSX Current version: alpha 0.75, check out details here DOWNLOAD (0.75 alpha) Key concepts Food and water are scarce and you need to be on the move to stay alive. Inventory size is limited, forcing you to prioritize. Vehicles require constant maintenance. Faction camps, bases, shanty towns and other encounter zones all over San Andreas. Exploration is rewarded. World is densely populated with NPCs and who you choose to kill matters. Environment is harsh and punishes the weak and the dumb. Moral decisions to be made. End goal. Roleplay friendly. Designed to be also enjoyable as a single-player experience. Setting 2000: A series of catastrophic earthquakes smashed the cities and countryside of San Andreas. In the aftermath, the whole state found itself separated from mainland. Fear and selfishness roamed free, pushing society into chaos. In the heart of San Fierro, one of the largest cities of San Andreas, government-sponsored Zombotech Corporation was researching biological weapons in its underground facility. The labs were heavily damaged by the cataclysm and a deadly infectious agent escaped in the streets. While emergency services struggled to contain the disaster and minimize collateral damage, death was spreading unnoticed. 2001: The Establishment evacuated survivors of the outbreak in the barricaded city of Las Venturas but infection spread inside the fence. They nuked the city and placed San Andreas under strict military quarantine. Nobody gets in, nobody gets out. They dubbed the disaster ‘The Incident’ to minimize its amplitude, media soon went silent and survivors were forgotten. 2007: 6 years passed and things have not become better. Regular people picked things up from where the government left them and started to organize. This is a tough new world, populated with the full spectrum of humanity: resilient survivors, vicious bandits, cannibalistic raiders, oppressive military forces and the rest of the loons. No line between good and bad was ever so ill-defined. San Andreas is ruled with an iron hand by Governor Skinner, who took office only six days after the Incident. His armed forces fight to control the territory, herding men into the new Refugee Camp. Resources are scarce and many dropped the last remnants of morality when they faced starvation. Violent clans and factions fight over the remains, establishing turfs or just trying to stay alive. Militias fight for supremacy, idealists work to maintain civilization and everybody else just struggles to survive another day in an increasingly suffocating world. As it became evident that the government has no rescue plan for them, despair started to crumble the minds of the few sane left. All attempts to flee San Andreas are met with airstrikes. But there must be ways to escape this place... What you can experience right now Explore a detailed post-apocalyptic map with many encounter zones. Plenty of NPCs, both friendlies and baddies. Dynamic faction and spawn system. More than 40 missions already in the game. Detailed inventory with more than 100 items to be found and used. Basic needs, stamina, infection, various other modifiers like pain, bleeding, exhaustion or inebriation. Innovative looting mechanic. Four zombie types, with different behavior. Scavenge the world for materials to build settlements or to use simple crafting and cooking. Upgrade and drive rugged vehicles across the wasteland and engage in vehicular combat. Trade, recruit and discover parts of the story by chatting with NPCs. Experience dark humor and some strong themes (16+). Simple interface, consistent graphic style. What still needs to be done The current gamemode version is alpha 0.75. Required for beta: skills and abilities implementation, npc traffic, karma system and map completion (now >90%). Once the project hits beta and the core is completed we’ll start focusing exclusively on the missions and story. Seeking friends for the end of the world Want to jump onboard and take part in the development? Great, join our Discord server using the link on top (the recommended approach) or PM me here. We're always looking for like-minded developers. Wanted: scripters, mappers, storytellers, 3D artists and testers. However, keep in mind that we're not looking to monetize this project in any way. We’ve used the work of many MTA community members and the gamemode will be shared alike with the community when completed. You will gain full credit for your work but no other type of compensation. Share your thoughts We do love suggestions and implement all good fitting ones, so don’t be shy and tell us what you think about this project, using the channels highlighted above. The answer is guaranteed and we'll also give full credit for any original ideas. Media 100+ development screenshots here (I suppose this is what you were looking for from the beginning, instead of reading a wall of text) Thanks for reading! Watch this space for fresh information and media.
    1 point
  4. Update: Limitless hosting does no longer exist. Refer to the post at https://forum.multitheftauto.com/topic/79146-limitless-free-hosting-free-mtasa-samp-servers/?do=findComment&comment=936804 Mod note: Topic closed. Limitless FREE Hosting is a forum that provides free game servers Game servers Available: MTA:SA SAMP Garry's Mod Counter Strike 1.6 NEWS: To improve our services, we are taking donations. And what is MORE good? By donating, you will be getting rewards. Check out all the information and exciting rewards here: http://limitlessrpg.com/Thread-DONATIONS-Premium-Game-Servers-More?pid=18252#pid18252 FREE MTA:SA & SAMP Servers: 500 slots max, depending on sponsor. You need to make posts on http://limitlessrpg.com 2 GB Disk Space Forum Support USA Location Control Panel How to get FREE MTA SA or SAMP Server? Complete Details about getting a free server: http://limitlessrpg.com/Announcement-How-to-get-FREE-Server
    1 point
  5. سلام عليكم ورحمة الله وبركاته كيف الاحوال ان شاء الله تكونو بخير المهم اليوم ما اطول عليكم مسويلكم سكربت ايديتور كيف يعني يعني تجي في لوحة فيها memo + 2button تمام زر client وزر server الميومو تضع في اكوادك اي كان نوعه وبيشتغل وافتح الدي بق عشان تشوف الاخطاء لو كودك في خطا وتضغط زر server او client على حسب نوع كودك تبيه بكلنت او سيرفر طبعا بمجرد عمل رستارت للمود بيروح الكود المهم هذا سكربت تجريبي واشوفه موفر للوقت وللجهد زي guieditor طبعا انا استخدمه حاليا مع المكتبة حقتي وفعلا يوفر وقت وجهد جدا تقدر تفتح اللوحه من اف 5 +المود غير مشفر للي حاب يعدل عليه او يسوي اللي يبي على العموم الاصدار ذا اصدار اولي وعلى حسب الدعم بيكون في اصدار قادم افضل واوفر للجهد والوقت بس بيكون مدفوع طبعا بسعر بسيط ما بيتعدى 20-30 ج او ريال او 10 دولار على العموم باذن الله التحديث الجاي بيكون فيه خاصية اكمال تلقائي للاكواد وتقدر تفعلها او تطفيها وفوق كل ذا بيكون في اقتراحات لاكواد مشابهه يعني مثلا تكتب set يجيك ثلاث اقتراحات setPlayerMoney -setPlayerName-setPlayerHealth بمجرد الضغط على وحده يعدل الميمو حتى تتناسب معها وفوق هذا بيكون في اغلب الفنكشنات بيكون مكتوب الرقمنتات حقتها وطريقة استخدامها وكذا في ميمو اضافي على اليسار لاني صراحة مب متخيل كيف بكتبها بكل فنكشن فعشان كذا قلت اغلب الفنكشنات لك تتخيل الجهد اللي ببذله وبالمقابل 20-30 ريال بيكون شي صراحه مب معقول طبعا ببعيه لاكثر من واحد باذن الله على العموم طولت عليكم اسف التحميل https://up.top4top.net/downloadf-5783bzeq2-zip.html للمهتمين المكتبة اللي شغال عليها بعض الصور لها طبعا الصوره تحتوي على صوره لي زر-نافذه-اديت بوكس https://f.top4top.net/p_57816jms1.png
    1 point
  6. client addEventHandler("onClientGUIClick",root, function ( ) if( source == GUIEditor.button[2] ) then if guiGetText ( GUIEditor.edit[1] ) ~= '' then setElementData (localPlayer,'tag',guiGetText (GUIEditor.edit[1])) setElementData (localPlayer,'colour',guiGetText (GUIEditor.edit[2])) end elseif( source == GUIEditor.button[1] ) then triggerServerEvent("DelTag",localPlayer) end end ) server function DeletePlayerTag ( player ) if ( getPlayerTag ( player ) == false ) then return false end local playerSerial = getPlayerSerial ( player ) executeSQLQuery("DELETE FROM PlayersTag WHERE serial=?", playerSerial ) setElementData ( player , "tag" , false ) setElementData ( player , "colour" , false ) return true end addEvent("DelTag",true) addEventHandler("DelTag", root, function ( ) DeletePlayerTag ( source ) end )
    1 point
  7. executeSQLQuery("CREATE TABLE IF NOT EXISTS PlayersTag (player, serial, tag, colour)") addEventHandler("onPlayerChat",root,function (msg) local tag = getElementData(source,"tag") or 'player' local colour = getElementData(source,"colour") or '#FFFFFF' outputChatBox("#FF0000 # #FFFFFF[ #CD0000"..tag .."#FFFFFF ]x #A5A5A5".. getPlayerName(source) .. ""..colour.." : ".. msg.."",root, 255, 255, 255, true) return cancelEvent() end) function getPlayerTag ( player ) local playerSerial = player and getPlayerSerial ( player ) local playerResult = executeSQLQuery("SELECT * FROM PlayersTag WHERE serial = ? ", playerSerial ) if ( #playerResult ~= 0 and type ( playerResult ) == "table" ) then return playerResult [ 1 ] [ "tag" ] , playerResult [ 1 ] [ "colour" ] end return false end function savePlayerTag ( player ) local playerSerial = player and getPlayerSerial ( player ) local playerTag = getElementData ( player , "tag" ) or false local playerColor = getElementData ( player , "colour" ) or false local playerName = getPlayerName ( player ) if ( not playerTag or not playerColor ) then return false end if ( getPlayerTag ( player ) ~= false ) then executeSQLQuery("UPDATE PlayersTag SET player=?,tag=?,colour=? WHERE serial=?", playerName, playerTag, playerColor,playerSerial) else executeSQLQuery("INSERT INTO PlayersTag(player, serial, tag, colour) VALUES(?,?,?,?)", playerName, playerSerial, playerTag, playerColor) return true end return false end addEventHandler("onPlayerQuit", root, function ( ) savePlayerTag ( source ) end ) addEventHandler("onPlayerLogin", root, function ( ) local playerTag , playerColor = getPlayerTag ( source ) if ( playerTag and playerColor ) then setElementData ( source , "tag" , playerTag ) setElementData ( source , "colour" , playerColor ) end end )
    1 point
  8. مشكور يقلبي بالزبط بحيث بقدر الامكان يصبح شبيه بالنوت باد يسهل الموضوع بس المهم يوفر الوقت والجهدد وبنفس الوقت يوفر عليك كل شوي الت وتاب بل بالعكس بيشغله لك داخل اللعبه وبكل يسر واريحية باذن الله
    1 point
  9. edit mine addCommandHandler("pay",function(player,cmd,targetPlayer,money) money = tonumber(money) and math.floor(tonumber(money)) or nil if not (targetPlayer) or not (money) then outputChatBox(syntax.." /" .. cmd .. " [Player] [Amount]",player,255,0,0,true) else local targetPlayer = getPlayerFromName (targetPlayer) if targetPlayer then if (targetPlayer==player) then outputChatBox(error.." You cant give money to yourself.",player,255,0,0,true) elseif money <= 0 then outputChatBox(error.." Minimum ammount is 0.",player,255,0,0,true) elseif getPlayerMoney(player) >= money then takePlayerMoney(player,money) givePlayerMoney(targetPlayer,money) else outputChatBox(error.." You dont have enough money.",player,177,9,45,true) end end end end)
    1 point
  10. عدل أسلوبك بالكلام . aGroup = "Console" ; -- هنأ القروب الي تبيه يقدر يحط الشخصية aIDSkin = 91 ; -- رقم الشخصية addEventHandler ( "onElementModelChange" , root , function ( aOldModel ) if ( getElementModel ( source ) == aIDSkin ) then if not ( isGuestAccount ( getPlayerAccount ( source ) ) or isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup(aGroup)) ) then setTimer(setElementModel,50,1,source,aOldModel) outputChatBox("* You Can't use this skin !",source,255,0,0,true) end end end ) ;
    1 point
  11. مثال ع الحدث addEventHandler ( "onClientGUIClick" , resourceRoot , function ( ) if ( source == guiName ) then outputChatBox ( "Hello" ) end end ) Hello بدل اسم الزر بسطر 5 وعند ماتضغط ع الي حددته راح يطلع لك بالشات مثال على فنكشن النسخ addCommandHandler ( "CopymyName" , function ( ) setClipboard ( getPlayerName ( localPlayer ) ) end ) وراح ينسخ اسمك CopymyName اكتب باف8 كلها كلينت
    1 point
  12. "onClientGUIClick" setClipboard
    1 point
  13. فكرة جميلة كانت نفس فكرتي زمان بس ما كان عندي وقت لها بتوفيق لك اخوي وان شاء الله نشوفك اكتر واكتر بقسم المساهمات
    1 point
  14. على وشو كل اللي عليك تسوي كذا outputChatBox('test') تضغط كلنت مثلا بيطلع معك بكلنت وضيف شوية ارقمنتات لو تبيها سيرفر او خليها زي ما هي واضغط سيرفر ومثلا سويلك شي افضل addCommandHandler('test',function(cmd,txt) outputChatBox(txt) end) وضغط كلنت ورح باف 8 واكتب test master مثلا
    1 point
  15. اول شي السلام عليكم ورحمة الله انا مدري صراحة هل من صلاحياتي احط موضوع زي ذا لكن اذا مو من صلاحياتي المرجو حذف الموضوع منتدى ام تي أي ) هذا ) سوو تحديث للموقع .. يعني يمكن نلاقي بقات او مشاكل يا ريت تسوون شكوى للمشرفين أو لواحد من MTA STAFF في أمان الله
    1 point
  16. يب فيه فراغات كثيرة ياعم وش ذا
    1 point
  17. واااو احسن شي بالتحديث
    1 point
  18. You still have to use getCursorPosition whether it returns a value from 0 to 1. Btw, you can easily recreate the function to have it do the multiplication automatically.
    1 point
  19. أنا حاولت وما قدرت و ابيكم تساعدوني وأبيك تصحح لي الكود مشان تجعله بعد تسجبل الدخول او شكلك ما قدرة عليه -__- وكمان وش تسوو لي كل شي ؟؟؟ مود كتما ناقص كود مشان يفتح بعد تسجيل الدخول ما تبي تساعد لا تعلق -__
    1 point
  20. 1 point
  21. على مايبدو ان الي مو حاطين افاتار يحطون لهم تلقائيا من اول حرف لهم
    1 point
  22. If I understand correctly - Yes the server is in English as well as Polish. This is an international server that everyone has access to. The server is also in Polish because all owners are from Poland and because the Polish MTA scene is terribly poor. Same game modes Role Play Games, Role Play and Truck, creates this server to make the Polish scene get more thread RPG / RPG and Truck. Sorry for trouble editing department but i did not know how to do it I edited Edit but nothing came of it, I could change only the content of the topic. Sorry again. I use a translator :/
    1 point
  23. В .client local All3DText = {} for _, source in ipairs(getElementsByType("pickup", true)) do -- Этот участок кода необходим если планируешь перезапускать текущий ресурс local text = getElementData(source, "3DText") if(text) then All3DText[source] = text end end addEventHandler("onClientElementStreamIn", getRootElement(), function() if getElementType(source) == "pickup" then local text = getElementData(source, "3DText") if(text) then All3DText[source] = text end end end ); addEventHandler("onClientElementStreamOut", getRootElement(), function() if getElementType(source) == "pickup" then local text = getElementData(source, "3DText") if(text) then All3DText[source] = nil end end end ); function dxDrawBorderedText(text,left,top,right,bottom,color,scale,outlinesize,font,alignX,alignY,clip,wordBreak,postGUI,colorCoded) local outlinesize = math.min(scale,outlinesize) if outlinesize > 0 then for offsetX=-outlinesize,outlinesize,outlinesize do for offsetY=-outlinesize,outlinesize,outlinesize do if not (offsetX == 0 and offsetY == 0) then dxDrawText(text:gsub("#%x%x%x%x%x%x",""), left+offsetX, top+offsetY, right+offsetX, bottom+offsetY, tocolor(0, 0, 0, 255), scale, font, alignX, alignY, clip, wordBreak, postGUI) end end end end dxDrawText(text, left, top, right, bottom, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded) end function nameText() local cx,cy,cz = getCameraMatrix() for pickup, text in pairs(All3DText) do local px,py,pz = getElementPosition(pickup) local distance = getDistanceBetweenPoints3D(cx,cy,cz,px,py,pz) local posx,posy = getScreenFromWorldPosition(px,py,pz+0.025*distance+0.40) if posx and distance <= 15 then dxDrawBorderedText(text,posx,posy,posx,posy,tocolor(255,175,0,255),1,1,"default-bold","center","top",false,false,false) end end end addEventHandler("onClientHUDRender",root,nameText) В .server setElementData(housePickup, "3DText", "Мой 3D текст")
    1 point
  24. Переодически эта тема снова и снова здесь появляется.
    1 point
  25. Ahora coges y me das razones por las que ser odiado
    1 point
  26. السلام عليكم و رحمة الله و بركاته اقدم اليوم اليكم شرح للداتا Shared function الداتا سيرفر و كلاينت وتنفع في الاتنين بدون مشاكل اولا الداتا هي من اهم الاشياء الي انا استخدمها في معظم موداتي ثانيا الداتا يوم تخرج من السيرفر تروح اهم فنكشنين والي راح نشتغل عليهم هم فنكشن يحط داتا و فنكشن يشيل الداتا اولا فنشكن setElementData يحط داتا معينة علي شي الشي ممكن يكون ( ماركر , سيارة , لاعب الخ.. ) طيب الجملة التركيبية للفنشكن bool setElementData ( element theElement, string key, var value [, bool synchronize = true ] ) طبعا انت لو مبتدا ماراح تفهم شي من هذي فمعليك بفهمك setElementData ( marker, "aMissionStatus", false ) هنا سويت ماركر باسم marker وحطيت داتا عليه اسمها aMissionStatus وحطيطها فولس طبعا لو ابي اسوي مهمة و ابي الماركر يفتح و يقفل بالداتا طيب الحين حطينا داتا علي ماركر نبي اذا اللاعب دخل الماركر و الماركر عليه داتا ينقلة عالم مكان اخر الفنكشنات "onMarkerHit" if getElementData then setElementPosition else outputChatBox -- المهمة مغلقة طبعا if then else مب فنكشنات واول سطر ذا حدث عند دخول الماركر طيب يلا نكون الكود local marker = createMarker(2000, 2000, 30, 'cylinder', 1, 255, 0, 0, 255) -- نسوي ماركر من العلم ان الاحداثيات خرابيط addEventHandler( "onMarkerHit", marker,function(p) if getElementData(marker,"aMissionStatus",true) لازم اسم الداتا بين علامتا التنصيص then setElementPosition(p,543,45,5) else outputChatBox("[Mission System] مغلقة") end -- اند الفنكشن end -- اند الشرط ) اتمني تكونو ا فهمتوا الشرح و اسف لو في خطا في اخر كود مسويه ع السريع ضغط زر لايك علي الشرح شرف كبير لي الشرح اهداء لكل الي يشوف الموضوع ولو شرحي حلو ياريت تقولولي عشان اكمل (:
    1 point
  27. It doesn't matter, as long as you have the right meta.xml. Example: we have 2 resources, resA and resB. ResB require resA to be running, as it uses some exported functions from resA in it. The meta of resB has the line <include resource="resA" />
    1 point
  28. تنبيه: إذا قد تلقيت تحذيرين, فإن ثالثهما حظر, والمدة تعتمد تقديرياً على ما فعلت, فإن كررت الخطأ بعد فك الحظر, ستزيد المدة, إلى ان تصل المدة إلى دائمة
    1 point
  29. خايس صراحه التحديث ذا
    0 points
  30. Design Error ! Shutting Down.... __________________________
    0 points
  31. يخوي كذا ما ينفع بس لازم تتعلم على الاكواد تفضل addEventHandler("onClientGUIClick",root, function () if source == ask then local gs = guiGetText(qus) local answer = guiGetText(ans) local raw = guiGetText(rw) if string.len(gs) > 0 and string.len(answer) > 0 and string.len(raw) > 0 and tonumber(raw) then triggerServerEvent("onStartAsking",localPlayer,gs,answer,raw) else outputChatBox("# Error In Details. Please Check Question Information",255,0,0) end end end )
    0 points
  32. في اخطاء في التصميم حق الموقع -.-
    0 points
  33. done = guiCreateButton(558, 162, 118, 37, "Done", false) edit2 = guiCreateEdit(348, 82, 143, 39, "2", false) edit3 = guiCreateEdit(322, 139, 174, 60, "3", false) edit1 = guiCreateEdit(558, 101, 116, 37, "1", false) local screenWidth, screenHeight = guiGetScreenSize ( ) LVL3 = guiCreateLabel(989, screenHeight - 120, screenWidth, screenHeight, "goooooooooooooooooood", false) addEventHandler ( 'onClientGUIClick', root, function ( ) if ( source == done ) then triggerServerEvent ( "but55lvl1", root ) LVL1N ( ) end end ) addEvent ( '1but55lvl1', true ) function LVL1N ( ) if ( guiGetText ( edit2 ) == guiGetText ( edit3 ) ) then if ( guiGetText ( edit1 ) == "1" ) then guiSetVisible (done, false) guiLabelSetColor(LVL3, 0, 255, 0) outputChatBox( "#0099CC[ ACEEPTED] ] : #ff0000" , 255 , 0 , 0 , true ) else ----------- قصدي هنا على افــ الاولى guiSetVisible (done, true) guiLabelSetColor(LVL3, 255, 0, 0) outputChatBox( "#0099CC[ REFUSED] ] : #ff0000" , 255 , 0 , 0 , true ) end end addEventHandler ( '1but55lvl1', root, LVL1N ) هذا الاختصار
    0 points
  34. هذا المود سبق وأنا صممته بعطيك كل اكواد ملف سيرفر وانت عدل يعني كود كامل بس انت عدل --سيرفر stat = false ans = nil rw = 0 addEvent("onStartAsking",true) addEventHandler("onStartAsking",root, function (gs,answer,rew) stat = true ans = answer rw = rew outputChatBox("## #0069c7the Question Is :#ffffff " .. gs,root,255,0,0,true) outputChatBox("## #0069c7Question Reward :#00ff00 " .. rew .. "$",root,255,0,0,true) end ) addEventHandler("onPlayerChat",root, function (msg) if stat == true then if msg == ans then givePlayerMoney(source,rw) outputChatBox("## #0069c7the Winner Is :#ff0000 " .. getPlayerName(source) .. " #0069c7And the Answer Was #ffffff( " .. ans .. " )",root,255,0,0,true) stat = false ans = nil rw = 0 end end end ) ولو تبي كلينت بعطيك
    0 points
  35. تمت ازالة الردود السابقة! يرجي منكم عدم الرد علي من يزيد من مشاركاته ودعو القرار لنا !
    0 points
×
×
  • Create New...