Jump to content

matheu_yu

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

matheu_yu's Achievements

Square

Square (6/54)

3

Reputation

Single Status Update

See all updates by matheu_yu

  1.  opa  preciso de uma ajuda, comecei a muito pouco tempo a fazer scripts, ja fiz alguns mais agora não estou conseguindo fazer uma;

    to tentando fazer que quando o jogador deslogue ou logue ele perca a tag de Staff, algume me ajuda pfv 


    function loggedOut1()
        aclGroupRemoveObject (aclGetGroup("Staff"), "user."..getAccountName(getPlayerAccount(source)))
        outputChatBox( "Logado com Sucesso", source )
        
    end
    addEventHandler("onPlayerLogout",getRootElement(),loggedOut1)

    Essa é uma base do que tentei 

    1. Show previous comments  9 more
    2. matheu_yu

      matheu_yu

      function SkinBVC(thePlay)
      		
      		aclGroupAddObject (aclGetGroup("Staff"), "user."..getAccountName(getPlayerAccount(thePlay)))
      		if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlay)), aclGetGroup ("Staff")) then
      		outputChatBox("Bom Trabalho!!", thePlay)
      		setPedSkin(thePlay, 10)
      		setPedArmor(thePlay, 100)
      		setElementHealth(thePlay, 100)  
      		else
      			outputChatBox("Oque voçê esta fazendo aki?!", thePlay)
      		
      	end
      end
      addEventHandler("onMarkerHit", mkr2, SkinBVC)
      
      function quitPlayer ( quitType )
      		aclGroupRemoveObject (aclGetGroup("Staff"), "user."..getAccountName(getPlayerAccount(thePlay)))
      end
      addEventHandler ( "onPlayerQuit", root, quitPlayer )

      This

       

    3. Lisandu

      Lisandu

       

      Nerd Gamimg

      i'm using NerdGaming Mods.

      it working corectly in my Server.

      This Works :P

      To change tag

      *Nerd_Gamig_Public.rar > NGChat > server.lua > Search for "[NG]" replace it to Your Tag...

    4. Lisandu

      Lisandu

      Note Nerd_Gaming Mods are RolePlay mods :)

×
×
  • Create New...