Jump to content

??????

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ??????

  1. function checkMoney(thePlayer) local money = getPlayerMoney(thePlayer) if (money > 0) then outputChatBox("[ #00FFFFP#FFFFFFvepas ] ◈ Você tem: #00FF00 " .. tostring(money), thePlayer,255,255,255,true) else outputChatBox("[ #00FFFFP#FFFFFFvepas ] ◈ Você não tem dinheiro!", thePlayer,255,255,255,true) end end addCommandHandler("dinheiro", checkMoney)
  2. function robtag ( source ) if isElementWithinMarker (source, PegarTag ) then if aclGetGroup(AclComando) and isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)), aclGetGroup(AclComando)) then aclGroupAddObject (aclGetGroup("BOPE"), "user."..getAccountName(getPlayerAccount(source))) outputChatBox ("[Sistema Tag] Agora Você Já Tem Tag Da"..NomeTag, source, 255, 255, 255, true) outputChatBox ("[Sistema Tag] Para Sair Basta Digitar"..ComandoSair, source, 255, 255, 255, true) end else outputChatBox ('[Sistema Tag] Voce Tem Que Estar no Lugar Certo Para Pegar a Tag', source, 255, 255, 255, true) end end addCommandHandler ( "bope", robtag ) function robtirartag ( source ) if aclGetGroup(AclComando) and isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)), aclGetGroup(AclComando)) then aclGroupRemoveObject (aclGetGroup("BOPE"), "user."..getAccountName(getPlayerAccount(source))) outputChatBox ('[Sistema Tag] Agora Você Não Tem Mais a Tag Da'..NomeTag, source, 255, 255, 255, true) end end addCommandHandler ( "sair", robtirartag ) function MSG (source) outputChatBox('[Sistema Tag] Digite /'..Comando..' Para Pegar Tag Do'..NomeTag, source ,255, 255, 255, true) end addEventHandler ("onMarkerHit", PegarTag ,MSG)
×
×
  • Create New...