Jump to content

ACL/gate>Spawn/Question


DonPro

Recommended Posts

Hey all. i need help with a ACL gate script today, i know theres some warning/errors of bad arguments and i dont know what thats means! so i wondering if u guys maby can help me to get it to work.

local gate = createObject(980, 943.20,1733.29,10.60,0,0,270,)  Object-id = id of object for your gate like 10671 
  
local marker = createMarker(945.5,1728.09,7.80, "cylinder", 1.5, 0, 0, 255, 0)   - Will create marker you must hit it to open the gate 
  
  
function moveGate(psource) 
     local Deadusergroup = getAccountName(getPlayerAccount(psource)) 
     if isObjectInACLGroup("Hellsangels"..Deadusergroup, aclGetGroup("Dead")) then            
          moveObject(gate, 1000, 943.20,1733.30,5)             0, 6 
          setTimer(moveBack, 5000, 1) 
     end 
end 
addEventHandler("onMarkerHit", marker, moveGate) 
  
function moveBack() 
     moveObject(gate, 5000, 943.20,1733.29,10.60)         
end 
  
addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), onStartup)  

Question: when u hosting your own server, is it posible to double the Total players?

and last help: how can i get this spawn connected to ACL?

"Hells Angels" friendlyfire="true" > 
            "Hells angels the gang of the best!" /> 
            "255" green="0" blue="0" /> 
            "HA Member" id="116" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 
            
            "HA Member" id="115" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 
            
            "HA Member" id="114" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 

Link to comment
U have to code script to check and authenticate spawn player from acl group
    function 
"Hells Angels" friendlyfire="true" > 
            "Hells angels the gang of the best!" /> 
            "255" green="0" blue="0" /> 
            "HA Member" id="116" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 
            
            "HA Member" id="115" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 
            
            "HA Member" id="114" > 
                "949.9189453125" y=" 1689.8173828125" z="8.851562" rot="199.13847351074" /> 
            
            "1" ammo="1" /> 
            "4" ammo="1" /> 
            "24" ammo="100" /> 
            "27" ammo="130" /> 
            "31" ammo="800" /> 
            
                "1768" y="-1544" z="15" /> 
                "1768" y="-1544" z="15" /> 
            
        

like that? :P i didnt realy understand what u mean ;S

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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