Jump to content

Problema con este script


Simonboy

Recommended Posts

function revisar (  ) 
  if (isElementWithinColShape ( source, safecol )) then 
            local acc = getPlayerAccount(source) 
            -- 
            if isGuestAccount(acc) then killPed(source) return end 
            -- 
            local accName = getAccountName(acc) 
            if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "USS" ) ) then 
             killPed(source, source) 
        end 
    end 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), revisar ) 

Agrégalo abajo de todo.

Link to comment
  • Recently Browsing   0 members

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