Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/05/20 in all areas

  1. Hello there,today i bring an inventory script,as the name suggests it's an inventory to store all your items from weapons to food/repairkit ,to use an item it is easy as just pressing use within selecting the amount .It is very easy and stable and was built using SQL,hopefully it is up to standards. You still have the option to use commands : ./use weaponname amount ./use itemname ./store weaponname amount ./drop weaponname amount (need to be stored) Current Items: Food: Boosts the player's health by 10 if he's low. Repairkit: Gives the vehicle 100 health (only if it's too damaged) Exported functions which you can use them in other scripts : (server side) getPlayerItem(player,itemname) updatePlayerItems(player,itemname,value) TakePlayeritem(player,itemname,value) Download link : https://community.multitheftauto.com/index.php?p=resources&s=details&id=18155
    2 points
  2. Have you ever experienced some lag while gaming ? We have some common issues between us ... like someone else is using your internet ?, or you might be downloading some files ( like games ?️ or movies ? ), or you might be streaming some music ? or videos ? while playing or using another device like PS4 ? or your mobile phone ?. Well .. those issues can be resolved since that person can leave your network , or you can stop your downloading progress , or stop using your browser to get the best ping and loss in your gaming ??. However, your permanent ping and loss cannot change easily because it depends on how far your location is from the server ?, and the speed of your internet connection ?, yet ... i discovered a software which can MINIMIZE and not entirely stop this lagging and i think its kinda effective ?. Its called WTFast , and i think it can somehow help in lowering your ping or at least disabling the effect of loss. You have to pay in order to have a subscription?to this software, but there is a trial to see if this software is useful for you or not and its important to know how to use it because its different in every game ( according to the location of the server ), and for MTASA you MUST follow this tutorial in order to know how to use it in the game. so if you're interested .. go on and download the trial of this software https://www.wtfast.com/ How to use it in MTASA ? For other games, you can search Google or YouTube ?for tutorials on how to use it on those games. For MTASA ( idk if it works for SAMP ) you just have to follow this tutorial and i hope it will help ? 1. You have to download it from https://www.wtfast.com/ 2. install the software and then launch it 3. login to your trial account ( might be already logged in ) 4. In the picture below, when this screen appears for you ( my version is 4.12, you have to search for a way in order to reach custom games if you have a TOTALLY different version ) the box in red that i drew shows the listed games, this is direct as the popular games can be directly accessed from this box, but MTASA is not a listed game now, for this step you have to press Manage Settings in the green box i drew and go to step 5. 5. Now that you reached the settings, press the checkbox Enable custom games and then press save 6. Now you should be back to the main panel, press Custom games 7. Press ADD 8. Now for the most important step i will just insert a photo to explain everything for it to be easier Only for those who don't know how to copy MTASA server address 9. After you clicked OKAY, follow this picture to know everything next 10. If you want to know the location of your MTA:SA server, just type the name of the server in https://www.game-state.com/ and you will find the location of the server, then choose the nearest location of the server to your MTASA server " and this if the auto detection does not work " At the end I wish this tutorial helped you guys and feel free to ask any question in the replies ? Good Luck ?
    1 point
  3. If you do not understand me then please ask again. 1] More IDs for vehicles. I have a question. Is it possible to add(adapt) a free ID for the car. For example, I have a free ID 612 and I want to add a new car to it(since the developers of UGMP made them more than 500 cars from GTA Vice city and not only ) As far as I understand, it is possible. Because the developers of "UGMP" implemented it ..... I did some digging into the MTA wiki and found that they have "Vehicles IDs"(vehicleIds = {400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611 }) And in the source code of the MTA, I found the ability to change the number of seats in the car and the ability to change the color (something like carcolors) 2]More IDs for objects. I am wondering if it is possible to increase the number of free IDS?(For example, 20,000 to 50,000) As far as I know in the source code there is a file that contains a list of valid IDS . Can it be expanded? (https://github.com/multitheftauto/mtasa-blue/blob/1.0/MTA10/utils/gentable/gentable_objmodels.cpp) I would very much like you to understand me.
    1 point
  4. Draw distance v1.0.2 This resource improves the draw distance of all your resources that make use of map files. It makes your maps 10x more beautiful in my opinion! Greatly improves the draw distance of map objects Maxed out the draw-distance for peds and vehicles. (See MTA settings > video: Render vehicles always in high detail + Render peds always in high detail ) Multi-resources support (this effect is applied on every mapRoot element) Parallel loading method is used, but the loading speed is in that case reduced to improve performance. The effect is not only applied on resources that are starting, but also resources that are already running. Download here This resource is uncompiled! Repository: https://gitlab.com/IIYAMA12/draw-distance Video - Created by @Anx1ty Comparison Starting at 200 units distance 400 units distance (this is the distance where a lot of objects will be unloaded, but in this case switched with lowLOD objects) And even on 600 units distance, it is technically visible -> (while the fog is slowly eating it up... ) Download here Can all hardware run this? --> I have no idea... most likely ?. Just give it a try.
    1 point
  5. يمديك تتعلم وتاخذ افكار اكثر عن البرمجة من خلال دروس بعض المبرمجين وشرحهم للغه ادخل الموقع ذا وبتحصل دروس كثير https://forum.multitheftauto.com/forum/137-دروس-في-البرمجة/ وبالتوفيق لك.
    1 point
  6. Muito bom o tutorial. Mas não entendi essa parte:
    1 point
  7. Tried it out, it doesn't change anything. That may be exactly what I need. Thank you.
    1 point
  8. I wouldn't have thought of it myself. As you would expect from a professional. Your help is invaluable, thank you so much
    1 point
  9. Align the loading process with your FPS. Every time you load a mod, the next frame will have to wait until the mod has been loaded. So technically onClientRender is telling you when a new mod can be loaded, but not when the mod has been loaded, except when the loading process takes longer than your next frame is ready to be drawn. See this topic for my recommendations: + The draw-distance resource you have liked, is making use of a similar mechanism which you could also play around with. It doesn't use onClientRender, but instead it uses getTickCount to process tasks within a given time. https://gitlab.com/IIYAMA12/draw-distance/-/blob/master/scripts/main_c.Lua @JeViCo
    1 point
  10. function playerDamage_text ( attacker, loss ) if not (getElementData(source, "attackerD")) then setElementData(source, "attackerD", "N/A") return end if attacker then if (getElementData(source, "attackerD") == getElementData(attacker, "char:name")) then else setElementData(source, "attackerD", getElementData(attacker, "char:name")) end end end addEventHandler ( "onPlayerDamage", getRootElement (), playerDamage_text ) function contador() local timer = interpolateBetween(deadTime, 0, 0, 0, 0, 0, (getTickCount()-tick)/deadTime, "Linear") local minutes, seconds = convertTime(timer) local attackerD = "Desconhecido" if getElementData(localPlayer, "attackerD") then attackerD = getElementData(localPlayer, "attackerD") end if minutes < 10 then minutes = "0"..minutes end if seconds < 10 then seconds = "0"..seconds end dxDrawRectangle(screenW * 0.3580, screenH * 0.8099, screenW * 0.2621, screenH * 0.1328, tocolor(0, 0, 0, 182), false) dxDrawText("SISTEMA EMERGÊNCIA IMPOSE", screenW * 0.3580, screenH * 0.7878, screenW * 0.6201, screenH * 0.8151, tocolor(255, 25, 25, 255), 1.20, "default-bold", "center", "top", false, false, false, false, false) dxDrawText("Você está ferido e precisa de um médico", screenW * 0.3580, screenH * 0.8229, screenW * 0.6201, screenH * 0.8477, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Chame os paramédicos no /192 e aguarde", screenW * 0.3580, screenH * 0.8477, screenW * 0.6201, screenH * 0.8724, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("um paramédico chegar.", screenW * 0.3580, screenH * 0.8724, screenW * 0.6201, screenH * 0.8971, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("TEMPO DE VIDA:", screenW * 0.3616, screenH * 0.9154, screenW * 0.4305, screenH * 0.9375, tocolor(255, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("#ff0000".. minutes.."#ffffff:#ff0000"..seconds, screenW * 0.3580, screenH * 0.9023, screenW * 0.6201, screenH * 0.9505, tocolor(255, 25, 25, 255), 1.40, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Assasino:"..attackerD, screenW * 0.5400, screenH * 0.9154, screenW * 0.4305, screenH * 0.9375, tocolor(255, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) end
    1 point
  11. In the future, please use the Turkish language board for advertising your services: https://forum.multitheftauto.com/forum/95-turkish-türkçe/ If not, please write an English post in the Looking For Staff board: https://forum.multitheftauto.com/forum/149-looking-for-staff/ Make sure to read the stickied posts prior to posting. I've moved it there, thanks for understanding!
    1 point
  12. Dois erros com a função de matar o jogador: 1 - killPlayer não é mais uma função utilizada, use killPed 2 - A função deve ser do lado server; seu código tem getLocalPlayer() que é client-side Além disso também falta um end na função e 'itemName' não está definido (pelo que é mostrado). A propósito, no exemplo da função killPed você já encontra o código do /kill https://wiki.multitheftauto.com/wiki/KillPed#Example Sempre que testar um código digite /debugscript 3 A parte da faca você irá precisar de getPedWeapon, algo assim: if getPedWeapon(sourcePlayer, true) == 4 then -- 4: ID da faca; true: verifica se é a arma atual -- código end Próxima vez lembre-se de postar em Programação em Lua; também recomendo ler os tópicos fixados nesta categoria.
    1 point
  13. PH Is a good group that give free servers, It's usefull and need just some share, they work 24/24h to create new locations. Please share it with your friends.
    1 point
  14. I saw this one a while back: https://community.multitheftauto.com/index.php?p=resources&s=details&id=7665 Not sure if that does what you want. And you can also play around with: https://wiki.multitheftauto.com/wiki/CreateLight
    1 point
  15. Minha recomendação: server-side; function morreu ( attacker ) if ( attacker ) then triggerClientEvent ( source, "Morreu", source, attacker ) end end addEventHandler ( "onPlayerWasted", getRootElement(), morreu ) client-side; function contador(attacker) local timer = interpolateBetween(deadTime, 0, 0, 0, 0, 0, (getTickCount()-tick)/deadTime, "Linear") local minutes, seconds = convertTime(timer) if minutes < 10 then minutes = "0"..minutes end if seconds < 10 then seconds = "0"..seconds end dxDrawRectangle(screenW * 0.3580, screenH * 0.8099, screenW * 0.2621, screenH * 0.1328, tocolor(0, 0, 0, 182), false) dxDrawText("IMPOSE EMERGÊNCIA", screenW * 0.3580, screenH * 0.7878, screenW * 0.6201, screenH * 0.8151, tocolor(255, 25, 25, 255), 1.20, "default-bold", "center", "top", false, false, false, false, false) dxDrawText("Você está ferido e precisa de um médico", screenW * 0.3580, screenH * 0.8229, screenW * 0.6201, screenH * 0.8477, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Chame os paramédicos no /192 e aguarde", screenW * 0.3580, screenH * 0.8477, screenW * 0.6201, screenH * 0.8724, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("um paramédico chegar.", screenW * 0.3580, screenH * 0.8724, screenW * 0.6201, screenH * 0.8971, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("TEMPO DE VIDA:", screenW * 0.3616, screenH * 0.9154, screenW * 0.4305, screenH * 0.9375, tocolor(255, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("#ff0000".. minutes.."#ffffff:#ff0000"..seconds, screenW * 0.3580, screenH * 0.9023, screenW * 0.6201, screenH * 0.9505, tocolor(255, 25, 25, 255), 1.40, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Assasino:" "#ffffff:#ff0000"..attacker, screenW * 0.5400, screenH * 0.9154, screenW * 0.4305, screenH * 0.9375, tocolor(255, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) end addEvent("Morreu",true) addEventHandler("Morreu", getRootElement(), contador) Bom, não testei; Mas tente assim meu querido!
    1 point
  16. Sorry but I was kind of busy, so hadn't really the chance to update you. I wanted to say that the development didn't stop. We're also getting bigger day by day. 11/05/2020 Added first warehouse robbery for Clans, since gangs will be respawning using ammo from /clan so this is the first way to get your ammo from, beside the basic weapon shops robbing. * First door is like 2nd Casino Robbery door you've to shoot through with ANY weapon ( even miniguns work ). * Second door is a crack door. * Weapon Boxes are lock picking boxes ( new system, you just have to hold down L ). - Reset time :- 2 hours for the warehouse reset. - Clan Reset time:- 8 hours until the same clan can rob the same warehouse again, so one clan can't spam robbing the warehouse and actually provides a chance for other clans. - Fail time:- 30 minutes if you don't succeed in 30 minutes the mission just resets. - Lock Picking system:- Yes another similarity to Payday 2 the lock pick works by holding button "L" and you gotta wait for it to be unlocked, working very good , visuals to be updated on it. ----------------------------- This is the official discord server for the Creative Gaming community: https://discord.gg/C6gBnTZ Creative Gaming IP: mtasa://185.53.130.227:22003 Creative Gaming Forum link:https://creativegamingrpg.com/index.php Creative Gaming GS Link : https://www.game-state.com/185.53.130.227:22003/
    1 point
  17. بسم الله , شوف يا ماكس . انا ما راح اكذب عليك ويلي بقوله صح والله من ساعة ما صديقي قلي علي هاي اللعبة من سنين كثيرة قول من 2011 وسويت نفسي ابله ما سمعت شئ بس جيت في وقت والله مليت وطفشت وحملته علي سنة 2012 اي في وقت التأسيس يدوب شوفت اول سيرفر وكان اسمه وناسة تايم هجوله وحرب وبدأت قصة حياتي في السيرفر والله ضليت حياتي كله في السيرفر هههههههه يب كان نفسي اقفل الرتب واكون شئ في وناسة او اكون اداري او اي شئ حلو في وناسة , لكن الظروف تحكم الحين انا بكل جهدي ساعي لهدفي احب اشكر السيرفر علي كل عام بيفرحنا فيه وكل عام بيتطور اكتر احب اشكر اخويا وصديقي في المجال المبرمج نصور افضل مبرمج رأيته عيناي , احب اشكر الاونر هوليود , احب اشكر الاونر , رامي احب اشكرك انت شخصياً يلي جيت تقرا تعليقي وجيت تسوي رد علي افضل سيرفر بحياتي احب اشكر الاخ شبح علي كل ماب قام بتصميمه احب اشكر كل ادمن في وناسة اشتغل بمضيره في السيرفر وشكرا , ويارب نكون دايماً متجمعين علي افضل الاحوال ♥
    1 point
  18. Creative Gaming's development head has decided to open the doors for new developers (scripters). We're looking forward to building a good scripting team. Our server is actually getting bigger day by day. Hence why we want ,as I've stated below, few developers. If you are interested make an account at our forums and apply. https://creativegamingrpg.com/showthread.php?tid=240 - everything is well-explained right here. Join our discord channel as well, https://discord.gg/C6gBnTZ . Wish you all the best of luck.
    1 point
  19. 05/05/2020 -Cops Mission #1
    1 point
  20. Mby someone can release the gamemode? maybe there is peoples who will fix the errors and release next
    1 point
×
×
  • Create New...