Jump to content

Any scripts on a secure zone


Recommended Posts

Ok explain everything for me please juste xplain all for it to work i need it to work at the doherty sf garage

this explain everything

local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 0, 0, 170 ) 
  
addEventHandler( "onMarkerHit", 
function ( player ) 
local PlayerTeam = getPlayerTeam ( player ) 
local Team = getTeamFromName ( "staff" ) 
    if playerTeam == Team then 
    outputChatBox ( "* welcome Staff ", player, 255, 0, 0) 
    else 
    killPed(player) 
    end 
end 
) 

# Replace

1- x, y ,x == the position for the area

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