TorNix~|nR Posted July 6, 2016 Share Posted July 6, 2016 hello everyone I have a server, and I want to make a jail system + wanted system for example: when a player kill player get 1 Star, and when player get 3 Stars, go to jail automatically anyone can help me ? Link to comment
Bean666 Posted July 6, 2016 Share Posted July 6, 2016 try it by yourself, i'll give you the functions you need getPlayerWantedLevel -- check player wanted level setElementPosition -- for the jail onPlayerWasted -- you need this function if the wanted player dies(kill arrest) Link to comment
Walid Posted July 6, 2016 Share Posted July 6, 2016 it's an event not a function. anyways all what you need is: -- Function getPlayerWantedLevel() setPlayerWantedLevel() setElementPosition() getElementType() -- Events onPlayerWasted Link to comment
Bean666 Posted July 6, 2016 Share Posted July 6, 2016 yes i know , i meant here are the things you'll need, sorry bout that. -- Function getPlayerWantedLevel() -- get player wanted level if his wanted level is above 0 setPlayerWantedLevel() -- if released, you set his wanted level to 0 setElementPosition() -- setElementPosition to the jail place / release place getElementType() -- make a check / define -- Events onPlayerWasted Link to comment
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