TorNix~|nR Posted July 6, 2016 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 ? ZI ZOMBIE INFECTION: mtasa://5.196.7.163:22003
Bean666 Posted July 6, 2016 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) Aftermath
Walid Posted July 6, 2016 Posted July 6, 2016 it's an event not a function. anyways all what you need is: -- Function getPlayerWantedLevel() setPlayerWantedLevel() setElementPosition() getElementType() -- Events onPlayerWasted Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Bean666 Posted July 6, 2016 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 Aftermath
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