Search the Community

Showing results for tags 'tag'.



More search options

  • 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
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 17 results

  1. Preciso de um script de quando você coloca a senha da base ganha TAG automaticamente igual no cidade moderna.
  2. Fiz o script onde o player vai até o marker digita o comando /trabalhar para iniciar seu trabalho e pegar o acesso do painel e etc, mas ele não está funcionando corretamente, ele diz q o jogador bateu o ponto mas não recebe a tag com as permissões do painel, no caso ele n adiciona na acl programada. marker = createMarker(1559.9,-1605.8,22.25 ,"cylinder", 1.1, 255 ,0 ,0 ,0) function pegarTag ( source ) if isElementWithinMarker (source, marker ) then aclGroupAddObject (aclGetGroup("ComandosPolicia"), "user."..getAccountName(getPlayerAccount(source))) outputChatBox ("|#FFFF00Policia Federal#FFFFFF|-Agora você está em seviço na PF",source,255,255,255,true) else end end addCommandHandler ( "trabalhar", pegarTag ) function tirarTag ( source ) if isElementWithinMarker (source, marker ) then aclGroupRemoveObject (aclGetGroup("ComandosPolicia"), "user."..getAccountName(getPlayerAccount(source))) setPedSkin ( source, 0 ) outputChatBox ('|#FFFF00Policia Feredal#FFFFFF|-Você está fora de serviço da PF.',source,255,255,255,true) else end end addCommandHandler ( "sair", tirarTag )
  3. Guest

    admin tag bug

    i have admin tag but when i type in chat the message appears twice Note: tactics-12-r20 gamemode
  4. Hello I wanna know how to script a tag for staffs E.g : [IGT]Gat Tag auto adds when a staff login. Thats will be nice if the tag will contain staff team colour, Special thanx
  5. Hello everyone, i need help in script nametag - nickname with colors and without. Prints: WITHOUT COLORS IN NICK WITH COLORS IN NICK Code: dxDrawBorderedText(getPlayerName(player), x - w / 2 + 35, y - h + 6, w, h, tocolor(255,255,255,255), scale, font, "left", "top", false, false, false, true, false) Warning: I already used " :gsub("#%x%x%x%x%x%x", "")" it and it did not work, I already changed the "left" and "top" to "center", "center", and also did not work, help, please
  6. I added this: to the nametag script.. but with 1-2 player working fine, and with more players, always show the chaticon.. How to fix this?
  7. ..this is not the full code from my nametag: when i press 'T', the chaticon appear on everybody.. how to fix this? i want, when a player, or me press 'T', the ballon show just on the player, or on me, not on everyplayers... sorry for my terrible english .. :c
  8. Hello I have a nametag script. And i have a chat-icon script too. But i want add the chat-icon thing to nametag script, above the player nametag. And do not appear for me, just another players. This is possible? If yes, how? Sorry for my bad english..
  9. Создал хороший сервер в МТА, всё с нуля, теперь мучаюсь только с маппингом, как можно поставить оружие на определённую точку, чтобы его можно было подбирать, я пробывал через MAP Editor найти оружие в объектах, поставил его, и тишина.. Оно просто стоит зависшим и всё. Оно должно вращаться и подбираться игроком (Ped).
  10. I want add a function to the admintag script, but i don't know how to create. When i type this for example: "asd", the script make this automatically to "Asd". And may add to this function special characters? For example: é,á,ű,ő,ó,ú...etc? Those too replace to big letter sorry for my bad english:(
  11. i have a plugin which makes the nametag appear above the player and the own player and everyone too should be able to see it but it wont work heres the code addEventHandler("onClientRender",getRootElement(), function() local px,py,pz,tx,ty,tz,dist px,py,pz = getCameraMatrix() for k,v in ipairs(getElementsByType("player")) do if (v~=getLocalPlayer()) then tx,ty,tz = getElementPosition(v) dist = math.sqrt((px-tx)^2 + (py-ty)^2 + (pz-tz)^2) if dist < 30.0 then if isLineOfSightClear(px,py,pz,tx,ty,tz,true,false,false,true,false,false,getLocalPlayer()) then local sx,sy,sz = getPedBonePosition(v,5) local x,y = getScreenFromWorldPosition(sx,sy,sz+0.3) if x then dxDrawText(getPlayerName(v),x,y,x,y,tocolor(150,50,0),0.85+(15-dist)*0.02,"bankgothic") end end end end end end )addEventHandler("onClientRender",getRootElement(), function() local px,py,pz,tx,ty,tz,dist px,py,pz = getCameraMatrix() for k,v in ipairs(getElementsByType("player")) do tx,ty,tz = getElementPosition(v) dist = math.sqrt((px-tx)^2 + (py-ty)^2 + (pz-tz)^2) if dist < 30.0 then if isLineOfSightClear(px,py,pz,tx,ty,tz,true,false,false,true,false,false,getLocalPlayer()) then local sx,sy,sz = getPedBonePosition(v,5) local x,y = getScreenFromWorldPosition(sx,sy,sz+0.3) if x then dxDrawText(getPlayerName(v),x,y,x,y,tocolor(150,50,0),0.85+(15-dist)*0.02,"bankgothic") end end end end end )
  12. nagugg

    Teams Tag

    How can I create a chat tag for a team? (not a tag for an ACL team) Example: if you are in the team "Az" your nick is: |Az|name
  13. local blockedTags = { "[VIP]", "[UltraVIP]", "[A]", "[M]", "[SM]" }; addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), function () for i, p in ipairs ( getElementsByType ( "player" ) ) do local tempName = getPlayerName ( p ); for x = 1, #blockedTags do if ( string.find ( tempName, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end end ); addEventHandler ( "onPlayerJoin", root, function () local name = getPlayerName ( source ); for i = 1, #blockedTags do if ( string.find ( name, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end ); addEventHandler ( "onPlayerChangeNick", root, function ( _, newNick ) for i = 1, #blockedTags do if ( string.find ( newNick, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end ); server.lua:9: bad argument #2 to 'find' (string expected, got nil) why??
  14. local blockedTags = { "[VIP]", "[UltraVIP]", "[A]", "[M]", "[SM]" }; addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), function () for i, p in ipairs ( getElementsByType ( "player" ) ) do local tempName = getPlayerName ( p ); for x = 1, #blockedTags do if ( string.find ( tempName, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end end ); addEventHandler ( "onPlayerJoin", root, function () local name = getPlayerName ( source ); for i = 1, #blockedTags do if ( string.find ( name, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end ); addEventHandler ( "onPlayerChangeNick", root, function ( _, newNick ) for i = 1, #blockedTags do if ( string.find ( newNick, blockedTags [ i ], 1, true ) ~= nil ) then kickPlayer ( source, "Rang tag nem lehet a nevedben! Szedd le! Köszikee :D" ); end end end ); server.lua:9: bad argument #2 to 'find' (string expected, got nil) why??
  15. English: How to get server name protection [MODERATED-LINK]
  16. Hi, i`m developing a TAG system with web integration and i need a little help. Have some function in MTA where i can load all mods inside a folder without specifying all names inside mtaserver.conf ?
  17. addEventHandler ( "onPlayerChat", root, function ( msg, type ) if isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Admin" ) ) and type == 0 then cancelEvent ( ) function outputMessage(author,message) outputChatBox("#ff0000[T] #FFffff"..author..": #FF0000"..message,getRootElement(),0,0,0,true) end function changetag(author,message) outputChatBox("#ff0000[Tulaj] #FFffff"..author..": #FFd700"..message,getRootElement(),0,0,0,true) end addCommandHandler("rang",changetag) why not working this? what wrong?