Jump to content

Any scripts on a secure zone


Recommended Posts

Posted

Does any body have a script like if a regular user enters the area it kills them or spawn them some were else please i really need one and if you do find one can you tell me how to find the size of the area.

Posted

Unbelievable... You just copied the functions above. You don't have just paste these functions, you have to make a script using them!

Posted

Ok so if you guys are suposed to be helping me how about breaking it down to basic to help me

erase "get player team" and put the x position coordinates or leave it and type = what ever the x postion coordinate is?

Posted
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

To Visit Us

Press Here: mtasa://5.9.206.180:22002

b648040241b8f01.png

0d0a7bb38ca13e5.png

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