All Activity

This stream auto-updates     

  1. Past hour
  2. try this , and check form NPC reosurce . 📋 function playerDamage_text ( attacker, weapon, bodypart, loss) if ( bodypart == 9 and attacker and attacker ~= source ) then local Health , Armor = getElementHealth ( source ) , getPedArmor ( source ) setElementHealth ( source , Health - 50 ) outputChatBox ( tostring ( Health )..' ; '.. tostring ( Health - 50 ) ) if ( Armor > 0 ) then setPedArmor ( source , Armor ( source ) - 50 ) end end end addEventHandler ( "onClientPedDamage", root, playerDamage_text )
  3. Today
  4. أقترح تخلو الرتب أكثر رسمية , يعني بدل ما تسوي هيك MoDeRetor خليها هيك Moderetor , وتكون كلها لون واحد مو ملونة .@ و إزالة التاجات اللي مالها داعي , مثل WnAsH Guest , King Hajwalah , وإلخخ عشان ترجع للأدمن هيبته , و التقليل من الرتب , إذا عندكم نظام شراء الرتبة بالساعات شيلوه , و خلي الكونسول يرقي مثلاً .
  5. يب , لما شفته إستغربت يجيب 100 لاعب
  6. I'm translating this post with google translation sorry if there is a wrong post. https://inceptionroleplay.com/ucp/client I downloaded the client from this site to quickly enter the server This site is owned by @Query. When I run this client, you perceived it as a cheat program and banned it from MTA. I want my ban to be opened in any way, cheat program etc. I use My serial number is 142472C25CA6E12BDB8F86C4FEE21C94
  7. delta1337

    F11 Map

    Hello, does anybody know how to create custom map like that? https://top-gta.ru/map/ ive been trying to figure out many options but so far yet i have no idea how they done it
  8. سيرفر ثوق لايف مشاءالله سيرفر رائع ويتميز بالحصريات والاحترام وموداتهم حصريه وكل شي عندهم سيرفر متواضع والادمنيه بكامل الاحترام وتواضع الاداره رائع جدا مع برمجة الاستاذ @Do_De<3 @Mr.M | مسترام صاحب السيرفر بالتوفيق باذن الله كا عدد زوار مشااءالله استمرووو مع تحياتي Mr.DaB
  9. Tem algum meio pra que o shader seja visivel pra o outro player, por exemplo eu fiz um script de modificação de arma, mas só que a customização só aparece para o proprio player, teria como deixar visivel para os dois? function ReplaceWeapon() txd = engineLoadTXD('m4.txd', 356) engineImportTXD(txd, 356) dff = engineLoadDFF('m4.dff', 356) engineReplaceModel(dff, 356) end addEventHandler( 'onClientResourceStart', getResourceRootElement(getThisResource()), ReplaceWeapon) local tTextures = {} local pShaders = {} addEventHandler( "onClientResourceStart", resourceRoot, function() tTextures["M4A1[057]"] = dxCreateTexture("image1.png") end ) addCommandHandler( "t", function() applyShader( tTextures, localPlayer ) end ) addCommandHandler( "v", function() for _, t in pairs(pShaders) do engineRemoveShaderFromWorldTexture( t[1], t[2], localPlayer ) end end ) function applyShader( t, player ) if type(t) == "table" and isElement(player) then for tex_name, tex_element in pairs(t) do local s = dxCreateShader('tex_replace.fx', 0, 0, true, 'ped') table.insert( pShaders, {s, tex_name} ) dxSetShaderValue(s, 'gTexture', tex_element) engineApplyShaderToWorldTexture(s, tex_name, player) end -- end end
  10. Nota: Os veículos (e outros elementos) criados no lado do cliente são vistos apenas pelo cliente que os criou, não são sincronizados e os jogadores não podem entrar neles. Eles são essencialmente apenas para exibição. Essa informação jaé mostrada em createVehicle acho que você deixou passar XD
  11. Segue links úteis: Tutorial: https://www.mtabrasil.com.br/2013/11/substituicao-de-roupas-no-mta.html Roupas: https://www.gtaall.com.br/gta-san-andreas/clothes/
  12. هلا سوبر زمان عنك
    انا بيري اذا تتذكرني
    المهم عندك ديسكورد ارسللللللللللللله

  13. Galera to querendo trocar apenas as roupas do mta, por exemplo, poder inserir no cj diversos tipos de roupas, mas não consigo achar roupas modificadas, alguém pode me ajudar?
  14. Yesterday
  15. eduher

    Bug reload

    Hello, I require a resource that when reloading with weapons keep shooting someone recommends me some
  16. zayyyy

    Mta kicks out

    I play few minutes and thé game kicks out and asks for stopping gta.exe and mta.exe processes
  17. Hello! I need some help. I have a server, and my F1 button shows the faction menu and my F1 doesnt work. Only ín game. I tryed to reinstall but still not work. Somebody can help me?
  18. function playerDamage_text ( attacker, weapon, bodypart, loss) if ( bodypart == 9 and attacker and attacker ~= source ) then loss = 50 setElementHealth(chuj, getElementHealth(chuj)-50) if getPlayerArmor(chuj)>0 then setPedArmor(chuj, getPlayerArmor(chuj)-50) end end end addEventHandler ( "onClientPedDamage", root, playerDamage_text ) So the matter is simple, when I shoot in the head of the NPC then he dies immediately, but I want that if I shoot him in the head it takes 50% of his hp, I don't know what's wrong here anyone will help?
  19. i will try to figure out how to do a new command to update in the server side, and try to share the information with the saving script that i have, Thank you so much by your help, God Bless you, and if i have any problem running the code i will notify here ❤️
  20. I tryed this, but didn't work. addEvent("onClientVehicleTurnOnIndicator", true); addEventHandler("onClientVehicleTurnOnIndicator", root, function(right_indicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerServerEvent ( "onVehicleTurnOnIndicator", vehicle, right_indicator) end end ); addEvent("onClientVehicleTurnOffIndicator", true); addEventHandler("onClientVehicleTurnOffIndicator", root, function(right_indicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerServerEvent ( "onVehicleTurnOffIndicator", vehicle, right_indicator) end end ); GN
  21. thank you and it's an honor for me to have you here
  22. Let's not start well it is not in my own car.
  23. You really seem to do baby steps, don't you? 😛 I hope you do learn Lua this way, but I did a tiny mistake: remove the first argument to triggerClientEvent and set the (now) second argument to (in your case) vehicle. Honestly, I just try to play along with your code, even if you invent things! I helped you by putting the indicator type into the triggerClientEvent. addEvent("onVehicleTurnOnIndicator", true); addEventHandler("onVehicleTurnOnIndicator", root, function(rightindicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerClientEvent ( "onClientVehicleTurnOnIndicator", vehicle, rightindicator) end end ); addEvent("onVehicleTurnOffIndicator", true); addEventHandler("onVehicleTurnOffIndicator", root, function(right_indicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerClientEvent ( "onClientVehicleTurnOffIndicator", vehicle, right_indicator) end end ); So this is the server-side portion of the script. Look at my advice again and try looking into the triggerServerEvent function for the client-side. I am going to sleep now and will most likely be back tomorrow evening.
  24. شباب ايش الأخطاء بالكود؟ executeSQLQuery("CREATE TABLE IF NOT EXISTS serial (count TEXT, playerCounter TEXT, savedSerials TEXT, serialUsername TEXT)") local counter = executeSQLQuery("SELECT count FROM playerCounter") function onJoin() local serial = getPlayerSerial(source) if isUserNew(source) then local highs = call(getResourceFromName("Core"),"getOnlineHighs") local ccode = call(getResourceFromName("admin"),"getPlayerCountry",source) for i,v in ipairs(highs) do outputChatBox("* #FFFFFF"..getPlayerName(source):gsub("#%x%x%x%x%x%x","").."#22a9ed has joined the game [New]", 0, 100, 0, true) outputChatBox("Player Number: "..("%03d"):format(counter[1].count),v) outputChatBox("Old Name: "..getPlayerName(source),v) outputChatBox("New Name: Guest_"..("%03d"):format(counter[1].count),v) outputChatBox("Country: "..call(getResourceFromName("Core"),"getCountryNameFromCode",ccode),v) outputChatBox("IP: "..getPlayerIP(source),v) outputChatBox("Serial: "..serial,v) end setPlayerName(source, "Guest_"..("%03d"):format(counter[1].count)) executeSQLQuery("INSERT INTO savedSerials(serial) VALUES(?)",serial) executeSQLQuery("INSERT INTO serialUsername(serial,username) VALUES(?,?)",serial,"Guest_"..("%03d"):format(counter[1].count)) outputChatBox("• Guest_"..("%03d"):format(counter[1].count).." #22a9edhas joined the game [#ffffffNew#22a9ed]",root,255,255,255,true) executeSQLQuery("UPDATE playerCounter SET count=? WHERE count=?",counter[1].count + 1,counter[1].count) counter = executeSQLQuery("SELECT count FROM playerCounter") executeSQLQuery("INSERT INTO serialReputation(serial,reputation) VALUES(?,?)",serial,0) setElementData(source,"Reputation",0) else local q = executeSQLQuery("SELECT username FROM serialUsername WHERE serial=?",serial) setPlayerName(source,q[1].username) if muted[serial] then outputChatBox("• "..q[1].username.." #22a9edhas joined the game [#FFFFFFMuted#22a9ed]",root,255,255,255,true) else outputChatBox("• "..q[1].username.." #22a9edhas joined the game",root,255,255,255,true) end local q = executeSQLQuery("SELECT reputation FROM serialReputation WHERE serial=?",serial) setElementData(source,"Reputation",q[1].reputation or 0) end end addEventHandler("onPlayerJoin",root,onJoin)
  25. Patrick

    [HELP]DFFLOCK

    Hi! You can find every information in previous post, where you wrote a comment. Please don't start new conversation about it..
  26. Like this? addEvent("onVehicleTurnOnIndicator", true); addEventHandler("onVehicleTurnOnIndicator", root, function(rightindicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerClientEvent ( client, "onClientVehicleTurnOnIndicator", client) end end ); addEvent("onVehicleTurnOffIndicator", true); addEventHandler("onVehicleTurnOffIndicator", root, function(right_indicator) local vehicle = getPedOccupiedVehicle (client) if vehicle then triggerClientEvent ( client, "onClientVehicleTurnOffIndicator", client) end end );
  27. Só procurar addCommandHandler pelo código que vc acha. /sireneditor
  1. Load more activity