Jump to content

Search the Community

Showing results for tags 'help'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

  1. Hi there.I have opened an amateur RP server and I have a problem with faction-system.The exact code is like: <lua> local maxrow = mysql:fetch_assoc(max) maxIndex = tonumber(maxrow.id) or 0 </lua> and the error I get on console is this:attemp to index local "maxrow" (a nill value)
  2. Hello dear community , i'm looking for a resource that allows you to save a character, log in and select the character.
  3. Hello Guys ! i want to make Role Play Server and i dont have a Level System [ Have Respecet To Level Up ] And Faction System For Factions [ /f /setfskin /fwarn /invite /uninvite ] And Dealership System please Help me Guys ! ?
  4. hello, this is my first post and I wanted to ask if someone knew how to create a script to appear an object for a limited time by pressing a key
  5. Hello dear community is this possible? Ex: Open a shop panel, and buy something restricted by acl group, so that when you buy it, it will automatically appear in the ACL group.
  6. How can i hide radar and hud and chat
  7. sapo

    pls help

    hello guys i tried opening, using administration and reinstall but not work, i turning off anti-virus and not work click no and not work Win 7 64Bit
  8. السلام عليكم ورحمة الله وبركاته .. كثير من اعضا المجتمع حاطين مواضيع يقولون فيها اطلب اي مود ونسويه لك .. جربت اكثر من واحد لي الاسف من اطلب المود ونتفق على كل شي يختفي ولا عاد يرد علي .. يااليت الي صامل ويعرف وش يسوي يكلمني خاص عندي اكثر من مود ابيهم .. رجاَ الي ماله في الموضوع هذا لا يكلمني ..
  9. R1S1NG

    Bug in my hud

    Hello everyone, I have a server which has a bug and nobody knows how to solve it, its hud is disabled every time I put a new one on it, thus removing the original, however, if I add a script as the screen joke blue, or a cinema like cinema experience ... things that cover the screen, or something like that, the normal hud comes back, and if I give / showhud anyway it comes back if I open the F11 map or do some other actions then does not advance that script to remove it in the login ... Players already reported this occur with the chat, it disappeared, does anyone have any solution? There are scripts that do not show anything for this bug! Any other script that uses the screen do not know how to explain, but with some scripts this occurs. Sorry if I put this topic in the wrong session! Thanks to anyone who can help me or try
  10. Hi there person, I need some help figuring out how to progress and finish up a script (idea to reality), but i can't find a way to do it on my own, So can sombady help me out, Here's the code. CLIENT: addEventHandler("onClientVehicleEnter", getRootElement(), function (thePlayer, seat) if thePlayer == getLocalPlayer() then triggerServerEvent ("Freeze", resourceRoot) end end ) addEventHandler("onClientVehicleExit", getRootElement(), function (thePlayer, seat) if thePlayer == getLocalPlayer() then triggerServerEvent ("Freeze", resourceRoot) end end ) SERVER: function FreezeHandler() end addEvent("Freeze", true) addEventHandler("Freeze", resourceRoot, FreezeHandler) So my intention is first of all to freeze every vehicle when it respawns/spawns, and for example if 1 does respawn/spawn then only that 1 get's frozen. And whenever the Event "onClientVehicleEnter" get's triggered, then the vehicle the player is going to unfreeze's, and for "onClientVehicleExit" it's inverted, so it has to freeze the vehicle again until another player interaction would occur. is anyone willing to help me out on this one, because i can't find it.. Gr.xboxxxxd.
  11. --revive script by: sRT, Richard C' Lugovoi function revivePlayerFromPK(thePlayer, commandName, targetPlayer) --local theTeam = getPlayerTeam(thePlayer) --if (teamID==1 or teamID==2 or teamID==3 or teamID==47 or teamID==59) then -- if exports.global:hasItem(thePlayer, 70) then -- exports.global:takeItem(thePlayer, 70) -- outputChatBox("You have revived And Take From You 500$", thePlayer, 0, 255, 0) if getPlayerTeam( thePlayer ) == getTeamFromName( "Los Santos Fire Department" ) then if not (targetPlayer) then outputChatBox("SYNTAX: /" .. commandName .. " [Player Partial Name / ID]", thePlayer, 255, 194, 14) else local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, targetPlayer) if getElementData(targetPlayer, "dead") == 1 then -- if exports.global:hasMoney(targetPlayer, 500) then -- tratment cost exports.global:takeMoney(targetPlayer, 500) -- here what im tryin do charging the player $500 for the reviv else outputChatBox("you dont have eanugh money to be treated ", targetPlayer, 0, 255, 0) triggerClientEvent(targetPlayer,"es-system:closeRespawnButton",targetPlayer end if targetPlayer then --fadeCamera(thePlayer, true) --outputChatBox("Respawning...", thePlayer) if isTimer(changeDeathViewTimer) == true then killTimer(changeDeathViewTimer) end local x,y,z = getElementPosition(targetPlayer) local int = getElementInterior(targetPlayer) local dim = getElementDimension(targetPlayer) local skin = getElementModel(targetPlayer) local team = getPlayerTeam(targetPlayer) setPedHeadless(targetPlayer, false) setCameraInterior(targetPlayer, int) setCameraTarget(targetPlayer, targetPlayer) setElementData(targetPlayer, "dead", 0) spawnPlayer(targetPlayer, x, y, z, 0)--, team) --(team ~= "Los Santos Emergency Services") setElementModel(targetPlayer,skin) setPlayerTeam(targetPlayer, team) setElementInterior(targetPlayer, int) setElementDimension(targetPlayer, dim) triggerEvent("updateLocalGuns", targetPlayer) --local adminTitle = tostring(exports.global:getPlayerAdminTitle(thePlayer)) outputChatBox("Medic"..tostring(getPlayerName(thePlayer):gsub("_"," ")).." has revived you", targetPlayer, 0, 255, 0) outputChatBox("you successfully revied !! "..tostring(getPlayerName(targetPlayer):gsub("_"," "))..".", thePlayer, 0, 255, 0) outputChatBox("You have been revived And charged 500$", thePlayer, 0, 255, 0) -- here what im tryin output to the treated player exports.global:sendMessageToAdmins("AdmCmd: "..getPlayerName(thePlayer).." mrevived "..tostring(getPlayerName(targetPlayer))..".") exports.logs:dbLog(thePlayer, 4, targetPlayer, "REVIVED from PK") else outputChatBox(tostring(getPlayerName(targetPlayer):gsub("_"," ")).." is not dead.", thePlayer, 255, 0, 0) end end end end end addCommandHandler("mrevive", revivePlayerFromPK, false, false) -- /mrevive system by sRT function adminHeal(thePlayer, commandName, targetPlayer) if getPlayerTeam( thePlayer ) == getTeamFromName( "Los Santos Fire Department" ) then -- faction name local health = 100 local targetPlayerName = getPlayerName(thePlayer):gsub("_", " ") if not (targetPlayer) then targetPlayer = thePlayer else targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, targetPlayer) end if exports.global:hasMoney(targetPlayer, 200) then -- treatment cost exports.global:takeMoney(targetPlayer, 200) -- ^^^^^^^^^^^^ outputChatBox("You have been treated and charged 200$", targetPlayer, 0, 255, 0) -- output the cost else outputChatBox("You dont have eanugh money", targetPlayer, 0, 255, 0) end if targetPlayer then setElementHealth(targetPlayer, tonumber(health)) -- outputChatBox("The Medic " .. thePlayerName .. " Has Treat You , Now Your Health : " .. getAlivePlayers .. " Health.", targetPlayer, 0, 255, 0) else triggerEvent("onPlayerHeal", targetPlayer, true) exports.logs:dbLog(thePlayer, 4, targetPlayer, "AHEAL "..health) end end end addCommandHandler("maheal", adminHeal, false, false) Hello guys , im stuck here and i really need help . what i, tryin do is making a Medic revive . evrey thing in this script works fine untill i add the if exports.global:hasMoney(targetPlayer, 500) then -- tratment cost exports.global:takeMoney(targetPlayer, 500) -- here what im tryin do charging the player $500 for the reviv else outputChatBox("you dont have eanugh money to be treated ", targetPlayer, 0, 255, 0) ===== here is the code working with no problems at all except it wont charge target player for the revive . --revive script by: function revivePlayerFromPK(thePlayer, commandName, targetPlayer) --local theTeam = getPlayerTeam(thePlayer) --if (teamID==1 or teamID==2 or teamID==3 or teamID==47 or teamID==59) then -- if exports.global:hasItem(thePlayer, 70) then -- exports.global:takeItem(thePlayer, 70) -- outputChatBox("You have revived And Take From You 500$", thePlayer, 0, 255, 0) if getPlayerTeam( thePlayer ) == getTeamFromName( "Los Santos Fire Department" ) then if not (targetPlayer) then outputChatBox("SYNTAX: /" .. commandName .. " [Player Partial Name / ID]", thePlayer, 255, 194, 14) else local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, targetPlayer) if targetPlayer then if getElementData(targetPlayer, "dead") == 1 then triggerClientEvent(targetPlayer,"es-system:closeRespawnButton",targetPlayer) --fadeCamera(thePlayer, true) --outputChatBox("Respawning...", thePlayer) if isTimer(changeDeathViewTimer) == true then killTimer(changeDeathViewTimer) end local x,y,z = getElementPosition(targetPlayer) local int = getElementInterior(targetPlayer) local dim = getElementDimension(targetPlayer) local skin = getElementModel(targetPlayer) local team = getPlayerTeam(targetPlayer) setPedHeadless(targetPlayer, false) setCameraInterior(targetPlayer, int) setCameraTarget(targetPlayer, targetPlayer) setElementData(targetPlayer, "dead", 0) spawnPlayer(targetPlayer, x, y, z, 0)--, team) --(team ~= "Los Santos Emergency Services") setElementModel(targetPlayer,skin) setPlayerTeam(targetPlayer, team) setElementInterior(targetPlayer, int) setElementDimension(targetPlayer, dim) triggerEvent("updateLocalGuns", targetPlayer) --local adminTitle = tostring(exports.global:getPlayerAdminTitle(thePlayer)) outputChatBox("The medic "..tostring(getPlayerName(thePlayer):gsub("_"," ")).." has been revived you", targetPlayer, 0, 255, 0) outputChatBox("You have revived "..tostring(getPlayerName(targetPlayer):gsub("_"," "))..".", thePlayer, 0, 255, 0) --if exports.global:hasItem(thePlayer, 34) then -- exports.global:takeItem(thePlayer, 34) -- outputChatBox("You have revived And Take From You 500$", thePlayer, 0, 255, 0) exports.global:sendMessageToAdmins("AdmCmd: "..getPlayerName(thePlayer).." mrevived "..tostring(getPlayerName(targetPlayer))..".") exports.logs:dbLog(thePlayer, 4, targetPlayer, "REVIVED from PK") else outputChatBox(tostring(getPlayerName(targetPlayer):gsub("_"," ")).." is not dead.", thePlayer, 255, 0, 0) end end end end end addCommandHandler("mrevive", revivePlayerFromPK, false, false) -- /mrevive system by sRT function adminHeal(thePlayer, commandName, targetPlayer) if getPlayerTeam( thePlayer ) == getTeamFromName( "Los Santos Fire Department" ) then -- faction name local health = 100 local targetPlayerName = getPlayerName(thePlayer):gsub("_", " ") if not (targetPlayer) then targetPlayer = thePlayer else targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, targetPlayer) end if exports.global:hasMoney(thePlayer, 200) then -- treatment cost exports.global:takeMoney(thePlayer, 200) -- treatment cost outputChatBox("You have been revived and take from you 200$", targetPlayer, 0, 255, 0) -- output else outputChatBox("You dont have money", targetPlayer, 0, 255, 0) end if targetPlayer then setElementHealth(targetPlayer, tonumber(health)) -- outputChatBox("The Medic " .. targetPlayerName .. " Has Treat You , Now Your Health : " .. getAlivePlayers .. " Health.", thePlayer, 0, 255, 0) outputChatBox("The medic " .. targetPlayerName .. " has treat you , now your health is : " .. health .. " health.", thePlayer, 0, 255, 0) else triggerEvent("onPlayerHeal", targetPlayer, true) exports.logs:dbLog(thePlayer, 4, targetPlayer, "AHEAL "..health) end end end addCommandHandler("maheal", adminHeal, false, false) === im tryin charge the target player $500 for the revive and output the charge . it wont let me do it . idont know how should i do this can you guys please help me i dont have that much of experience
  12. local endmusic = { "endr1.ogg", "endr2.ogg", "endr3.ogg", "endr4.ogg", "endr5.ogg" } endRoundOgg = playSound(endmusic[ math.random (#endmusic)] I want to add random endroudn musics for stealth pro gamemode. i want to know this code is true or false or need help for do it pls help me
  13. How I run the line only once, until the condition is true again? timehour, timeminute = getTime() var = 0 if timehour == 12 and timeminute == 0 then var = var + 1 --I want to execute this line only once whenever the condition is true end Apparently the line runs more than once during the time of the condition.
  14. Olá, eu tenho um servidor, e tem alguns sistemas de vips e corporações. Gostaria de saber se tem como colocar o painel B por acl (grupo), e se tiver, como faço isso? Ajudem por favor. Obrigado!
  15. any problem this code ? pls help me handler = dbConnect("mysql", "dbname="..mysqldatabase2..";host="..mysqlhost2, mysqluser2, mysqlpassword2,";unix_socket="/var/run/mysqld/mysqld.sock, "autoreconnect=1")
  16. when i loging to my server there is welcoming letter on the left corner of my screen where its say Connected [ MTA SA server 1.5.5 [GNU/Linux]] underneath it pls help how can i edited or remove it her is a picture explaining what i mean .
  17. السلام عليكم زي ما انتم شايفين في الصورة تطلع رساله ترحيبيه ابي اشيلها او اعدل عليها ماني قادر القا الملف الي هي فيه ياليت احد يساعدني ... OMG سيرفر حياة واقعيه يرحب بكم OMG
  18. Hi, I modeled a map and would like to break the field-of-view limit. there is a limit of 300 units of the distance object, how can I make to make all objects visible from a greater distance? txd = engineLoadTXD ( "1.txd" ) engineImportTXD ( txd, 1515 ) dff = engineLoadDFF ( "1.dff" ) engineReplaceModel ( dff, 1515 ) col = engineLoadCOL( "1.col" ) engineReplaceCOL( col, 1515 ) engineSetModelLODDistance(1515, 300)
  19. MTADiag v2.7.24 по Towncivilian MTADiag версии 2.7.24 МТА путь установки: D:\MTA МТА версия: 1.5.5-9.13824.0.000 ГТА установите путь: D:\GTA DirectX обновлен. Проверка на отсутствие файлов GTA, пожалуйста, подождите... Проверив 383 из 383... Проверка измененных или нестандартных ГТА файлы, пожалуйста, подождите... Проверка 11 из 383...Нестандартный GTA файл: \ audio\CONFIG\StrmPaks.дат проверки 18 из 383...Нестандартные ГТА файл: \аудио\архив\SPC_FA проверки 19 из 383...Нестандартные ГТА файл: \аудио\архив\SPC_GA проверки 20 из 383...Нестандартные ГТА файл: \аудио\архив\SPC_NA проверяя 22 из 383...Нестандартные ГТА файл: \аудио\потоки\АА проверяя 295 из 383...Нестандартный GTA файл: \ models\fonts.на txd проверка 382 из 383...Нестандартный GTA файл: \ text\american.gxt Проверка 383 из 383... Сбор информации. Подождать... [==================================================] 100% Сгенерированный файл журнала. Загрузка в Pastebin... Ссылка сайт pastebin (https://pastebin.mtasa.com/502327301) скопирован в буфер обмена. Пожалуйста, включите ссылку на сайт pastebin в свой пост на форуме. Для продолжения нажмите любую клавишу . . . https://pastebin.mtasa.com/502327301
  20. Guys, i made a marker in dayz that when i get in it i got new skin in dayz and the skin worked and all things fine but when i get the new skin after 10-15 second my last skin back and my new skin has gone . how to fix that ? newskin = createMarker ( 1856.0751, 851.0827, 9.408, "cylinder", 1.5, 255, 255, 0, 170 ) function skin(hitPlayer) if getElementType(hitPlayer) == "player" then setPlayerSkin ( hitPlayer, 211 ) end end addEventHandler ( "onMarkerHit", newskin, skin )
  21. my server is with all ports open in vps everything ok but does not appear in the list for players
  22. I want create custom weapons, anyone teach me to create custom weapons please
  23. I need teach do how make dxScroll
  24. polomy

    i cant join servers

    You were kicked from the game (SD #16 021A) < that's why i can'T join servers pls help me my pc is clean my files are clean i have no mod or no cheat that problem started today after the new update
×
×
  • Create New...