3B00DG4MER Posted March 21, 2014 Share Posted March 21, 2014 Hello,Today i want Script Which is : - When Police see Illegal thing the player will get +1 Star setPlayerWantedlevel(thePlayer,getPlayerWantedlevel +1) - When Police Attack the Player who Has more than 0 wanted level 3 Times (this Part Has made it #Solidsnake14) will Follow him (Very Hard Part, i think i'll Get Code From slothbot otherwise anyone help please) - Create Marker,Nearby LSPD (Very easy part) - if police has touche Marker, the player will Go to jail (easy is Part) i think #Solidsnake14 only will give me that Code Link to comment
pa3ck Posted March 21, 2014 Share Posted March 21, 2014 Anything else, sir? You did realize, its not a requesting section, right? Try to do it yourself and if you have any issue(s), you can ask for help here. Link to comment
xXMADEXx Posted March 21, 2014 Share Posted March 21, 2014 Also, SolidSnake14 isn't the only scripter on this forum. Link to comment
Chickelon12 Posted March 21, 2014 Share Posted March 21, 2014 well, i wanted to do a similar thing but idk which functions should i use, i am not reqeusting someone to do it i just want to know what functions should i use ? Link to comment
3B00DG4MER Posted March 21, 2014 Author Share Posted March 21, 2014 Also, SolidSnake14 isn't the only scripter on this forum. Because he owner of SAUR server in The server there is that script,i saw it . Link to comment
Mr_Moose Posted March 21, 2014 Share Posted March 21, 2014 There are many RP/RPG servers that has some kind of law and police system, it's all about how much realism you need in it and in any case I would recommend you to use an external wanted level variable that can hold numbers that is larger than 6 (int) otherwise it get's kind of boring when a player committed enough crimes to reach 6 stars and then he can't get more wanted at all. Anyway to solve your problem you should use: if getPlayerWantedLevel( player ) < 6 then setPlayerWantedLevel( player, getPlayerWantedLevel( player ) + 1 ) end Make sure that "player" points at a player and this should also be used on the server to make sure it's synced. The hit counter with the nightstick may be created with the set and getElementData together with a timer pointer table that holds a timer for every player which is started as soon the cop hits the criminal once, this will reduce the hitcounter after a while and kill the timer when it's done and as soon you get 3 hits the arrest function is called. In the arrest function you could either send the suspect to the jail or force him to follow you until you hit the jail marker. Currently it doesn't seem to be any full police script available but I'm planning to release on soon, if you want to try it I recommend you to visit AC RP/CnR/Mw and look at that law and wanted system. Link to comment
Moderators Citizen Posted March 21, 2014 Moderators Share Posted March 21, 2014 Also, SolidSnake14 isn't the only scripter on this forum. Because he owner of SAUR server in The server there is that script,i saw it . Lol so because someone already did it for his own server, then you think he will give it for you for free ? Just by asking ? Solidsnake obviously won't give it to anyone for free (and he won't sell it too). It's part of his gamemode on which he worked hard. And if he would like to give it to you, then you won't be able to make it work since it's obviously part of the whole gamemode and won't work "out of the box" without modifications you won't be able to do. That being said, have a nice day. (Ps: You are supposed to be a scripter, so just script it yourself). Best regards, Citizen Link to comment
3B00DG4MER Posted March 21, 2014 Author Share Posted March 21, 2014 Also, SolidSnake14 isn't the only scripter on this forum. Because he owner of SAUR server in The server there is that script,i saw it . Lol so because someone already did it for his own server, then you think he will give it for you for free ? Just by asking ? Solidsnake obviously won't give it to anyone for free (and he won't sell it too). It's part of his gamemode on which he worked hard. And if he would like to give it to you, then you won't be able to make it work since it's obviously part of the whole gamemode and won't work "out of the box" without modifications you won't be able to do. That being said, have a nice day. (Ps: You are supposed to be a scripter, so just script it yourself). Best regards, Citizen I'll Made it I think i'll use some of sloth-bot codes 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