Jump to content

[HELP]With my spawn


Bean666

Recommended Posts

hi i wanna know how to make this spawn to be ACL? cause i can only make spawn with gangs , i wanna learn how to make it for ACL here is my code and by the way when i press spawn as a private gang and im not in the gang of it , all players see the output chat box:

function spawnadminP (prevA, curA, spawn) -- 
        if ( getElementData(source, "gang") == "Admin" ) then 
        spawnPlayer (source, 2007.37890625, 2907.80859375, 47.82311630249, 91.619140625, 217, 0, 0, adminP) --     
    fadeCamera (source, true) 
    setCameraTarget (source, 2066.0576171875, 1253.369140625, 36.72605) 
    giveWeapon ( source, 3, 1) 
    giveWeapon ( source, 24, 9000) 
    giveWeapon ( source, 34, 9000) 
    giveWeapon ( source, 31, 9000) 
    giveWeapon ( source, 27, 9000) 
    else 
    outputChatBox("You are not in Admin group!", thePlayer, 26, 152, 182)  
    end 
end 
addEvent( "spawnadminP", true ) -- 
addEventHandler( "spawnadminP", root, spawnadminP ) -- 

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...