Jump to content

Search the Community

Showing results for tags 'remove'.

  • 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

Found 13 results

  1. Hi, I want to remove this fence in Map Editor, but I can not. I do not know how to remove it. Please show me a way. (I do not know the Id of this object). https://file.io/aG2uJK2KYaAR https://www.file.io/Xsl3/download/aG2uJK2KYaAR
  2. Olá coloquei um mod de alugar bikes aqui no servidor, porem gostava de remover o salto delas , para evitar bugs ou invasoes de bases atraves do salto da bike se alguem puder ajudar agradecia!
  3. Scrolling through the tutorials, I found a script that displays players in the server when joining and quitting. function playerCount ( ) outputChatBox("#ff8800[server]: #ffffffPlayers: #ffffff(" .. getPlayerCount() .. "#ffffff)" , root, 255, 0, 0, true) end addEventHandler ( "onPlayerJoin", getRootElement(), playerCount ) addEventHandler ( "onPlayerQuit", getRootElement(), playerCount ) What would I have to add to trigger it with a command, such as "/players"?
  4. Well, the point is my laptop is not the biggest thing (it´s a normal laptop) so, i play in a server called SX Project, in this server was recently implemented a mod for the vehicle coach voted by the mayority players , that was the last year, but , the mod are presenting these days certain nonconformities because that cause a destabilisation in its balance, also the mod low fps (in my case). I was searching how i can remove the mod whitout being an admin, for real, that mod is the worst :~ i could imaginate. Srry for my english, i´m venezuelan :)
  5. Ошибка: Starting remove [19:05:56] ERROR: Couldn't parse config remove.lua in resource remove [19:05:56] Failed to start resource item remove.lua in remove start: Resource 'remove' start was requested (Failed to start resource item remove.lua which is required) Скрипт: https://yadi.sk/d/NDEjRFDq3YB5im
  6. When a weapon has 0 bullets its disappeard, how to make the weapon stay in my hands even if I got no ammo?
  7. function aAction ( type, action, admin, player, data, more ) if ( aLogMessages[type] ) then function aStripString ( string ) string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ):gsub("#%x%x%x%x%x%x","") ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ):gsub("#%x%x%x%x%x%x","") ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ):gsub("#%x%x%x%x%x%x","") ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string, "$player", getPlayerName ( player ) ) string = string:gsub("#%x%x%x%x%x%x","") end return tostring ( string.gsub ( string, "$data", data or "" ) ) end local node = aLogMessages[type][action] if ( node ) then local r, g, b = node["r"], node["g"], node["b"] if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b ) end if ( node["admin"] ) and ( admin ~= player ) then outputChatBox ( aStripString ( node["admin"] ), admin, r, g, b ) end if ( node["player"] ) then outputChatBox ( aStripString ( node["player"] ), player, r, g, b ) end if ( node["log"] ) then outputServerLog ( aStripString ( node["log"] ) ) end end end end i added this lines to 'admin_server.lua', but doesn't working the script i got a lot of errors from 'admin_sync.lua':194: attempt to index global 'aPlayers' (a nil value) and rom 'admin serverjoiner.lua':48: attempt to call global 'checkClient' (a nil value) but when i add the original 'aActions' function, the errors will disappear. why? how to fix this?
  8. addEventHandler("onPlayerLogin", getRootElement(), function () local name = getPlayerName ( source ) name:gsub("#%x%x%x%x%x%x", "") if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then exports[getResourceName(resource)]:addNotification(root, name.." tulajdonos szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Moderator")) then exports[getResourceName(resource)]:addNotification(root, name.." moderátor szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SuperModerator")) then exports[getResourceName(resource)]:addNotification(root, name.." szupermoderátor szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Modi")) then exports[getResourceName(resource)]:addNotification(root, name.." moderátor szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Operator")) then exports[getResourceName(resource)]:addNotification(root, name.." operátor szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("zuker")) then exports[getResourceName(resource)]:addNotification(root, name.." moderátor szolgálatba lépett!", "warning") elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Adminseged")) then exports[getResourceName(resource)]:addNotification(root, name.." adminsegéd szolgálatba lépett!", "warning") end end ) i added 'gsub' but the color code not disappear
  9. --server-- function kivesz() local accountName = getPlayerAccount(source) if isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( "Admin" )) then aclGroupRemoveObject(aclGetGroup("Admin"), "user."..accountName) end end addCommandHandler("rangki", kivesz) function betesz() local accountName = getPlayerAccount(source) if isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( "Admin" )) then aclGroupAddObject (aclGetGroup("Admin1"), "user."..accountName) end end addCommandHandler("rangbe", betesz) and i got this errors and warnings: http://imgur.com/a/tI7mJ how to fix this?
  10. Hello, I am not good in english because i'm french so sorry for my bad english. I search a ressource for remove parts of vehicle (hood, doors etc...) a ressource with a panel if possible. Because i'm very very bad in scripting. French : Bonjour, Je recherche une resource pour enlever des parties de véhicules (capot, portes...) avec un "panel" si possible parce que je suis pas fort du tout en script. C'est pour faire du tuning je pense que cela pourrait être pas mal de pouvoir retirer le capot. Thank's (Merci) !
  11. hiran

    GALARET detected

    Hello I do not speak English well. I am when I update the streets and trees you want Add your arms and over, when I finished and looked at Mata entered've got Band I did not do anything to sabotage or https://imgur.com/a/hsPzQ http://imgur.com/a/4yhZx cit2 GALARET detected |N|Hi[R]aN | #4: Cheating
  12. Hey, is there a function or something to remove the color code of me, and change RGB?
  13. Buenas, estoy creando un sistema de nametags cliente y estoy usando tablas, para que así cuando se loguee/desloguee, se muestre o no el texto en cuestión (el nametag). Todo va correcto, el problema que tengo es a la hora de usar table.insert, que sigue renderizando el nombre local nametags = { } local font = dxCreateFont( "fuente.ttf" ) addEvent( "nmtgs:onPlayerLogin", true ) addEvent( "nmtgs:onPlayerQuit", true ) addEventHandler( "onClientRender", root, function( ) if #nametags > 0 then for i=1, #nametags do local player = nametags[i] local px, py, pz = getElementPosition( player ) local x, y, z = getElementPosition( getLocalPlayer( ) ) local name = getPlayerNametagText( nametags[i] ):gsub("_"," ") end end end ) function addPlayerToTable( player ) if player then table.insert( nametags, player ) end end addEventHandler( "nmtgs:onPlayerLogin", getRootElement( ), addPlayerToTable ) function removePlayerFromTable( player ) if player and nametags[ player ] then table.remove( nametags, player ) end end addEventHandler( "nmtgs:onPlayerQuit", getRootElement( ), removePlayerFromTable ) ¿Alguna idea? Gracias de antemano.
×
×
  • Create New...