Jump to content

Problema con este script


Plate

Recommended Posts

que esta mal en esto ?

addEvent("enviarVariable",true) 
addEventHandler("enviarVariable",root,function (playerName) 
        local elPlayer = getPlayerFromName(playerName) 
        local usuario = getAccountName ( getPlayerAccount ( elPlayer ) ) 
        if isObjectInACLGroup ( "user.".. usuario, aclGetGroup ( "LiderFTFP" ) )  then 
            if ( accountName ) then 
                local pname = getPlayerName ( elPlayer ) 
                aclGroupAddObject ( aclGetGroup ( "FTFP" ), "user.".. accountName ) 
                outputChatBox ( tostring ( pname ) .." agrego a  '".. accountName .."' a S.T.A.R.S", getRootElement(), 0, 255, 255, true ) 
            end 
        end 
    end 
) 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...