Jump to content

Search the Community

Showing results for tags 'isobjectinaclgroup'.

  • 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 2 results

  1. Eai glr tudo bem? Queria uma ajuda pra fazer um script de, a pessoa sem acl especifica, não consiga entrar no carro de um id especifico alguem poderia me ajudar? isObjectInACLGroup foi oque eu usei num script antigo, e eu voltei a fazer script agora, não lembro de muitas coisas, se puderem me ajudar
  2. function verificarPag(player) local timer = getRealTime() local accName = getAccountName ( getPlayerAccount ( player )) if isObjectInACLGroup ("user."..accName, aclGetGroup("Mr")) then if timer.hour == 7 then --exports.Mr_Dxmessages:outputDx(player, "Seu pagamento está liberado , até as 08 horas! receba no /receber", "warning") else exports.Mr_Dxmessages:outputDx(player, "Você ainda não pode receber, somente as 08 horas!", "error") end end end addCommandHandler("receber", verificarPag) local money = createPickup (1542, -1684, 14, 3, 1274, 2000 ) function receber (player) local timer = getRealTime() local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Mr") ) then if timer.hour == 7 then exports.Mr_Dxmessages:outputDx(player, "Você recebeu seu pagamento $500 ", "success") givePlayerMoney(player, 500) end end end --addCommandHandler("receber", receber) addEventHandler ( "onPickupUse", money, receber )
×
×
  • Create New...