Lukkaz Posted January 8, 2011 Posted January 8, 2011 Hi I created a script where someone from the police faction can type "onduty" and they will be able to choose their police skin based on their rank and spawn as them. My question is how can make that command only work in a certain room of the police station? how would I use the createColRectangle function to do this?
Castillo Posted January 8, 2011 Posted January 8, 2011 yeah, i think the best way of doing this would be a colshape, also you need to use: isElementWithinColShape to check if the player who types the command is in the colshape. https://wiki.multitheftauto.com/wiki/IsElementWithinColShape
Lukkaz Posted January 8, 2011 Author Posted January 8, 2011 that was quick lol thanks bro i appreciate it
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now