Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssLegal System (legalsystem)

Category:script
Author(s):slothman
Downloads:12691
Rate:You need to be logged in to vote
Rating:3.7 (66 Votes)
Description:
Add a little order to the chaos of mta!

This script creates an entire legal system to gameplay, great for RPG servers! Players who are acting as police can catch other players who have wanted levels. The criminal is then forced to follow the cop to the nearest police cruiser where they will be driven to jail to serve their time. Players being arrested have no control over their character and have no choice but to watch as they are hauled off to prison.

Features incude:

*Police have ability to arrest people with wanted levels in 3 ways:
---- smacking them with a nightstick
---- pulling them out of a car
---- aiming a weapon at close range (if criminals health is low)
*Increase wanted levels when players break the law in these ways:
---- Jacking a car
---- Killing a player (cops get wanted for killing innocents)
---- Stealing a Cop car
---- Assaulting an officer
---- Being seen by a cop doing illegal activity (read further for details)
*players can escape arrest if several things happen(with a little help from an accomplice)
---- The cop walks too far away
---- The cop dies
---- The cop car gets too damaged
---- The cop gets jacked from their car
*Players have to serve jailtime if arrested (jailtime per wanted star is a server variable)
*Cops get rewarded for arresting or killing criminals (rewards are server variables)
*Made to be modular to work with almost any existing rpg servers
---- Works by detecting players skins or team name
---- Doesn't alter Team assignments
---- Doesn't rely on a specific spawning system
*Police can arrest up to 2 players at once
*Works With Police Bribe Pickups
*creates directions to jails for arresting officer
*creates blips of players with wanted levels viewable to cops

To Make it so the police can detect a player is doing something illegal in your own script, simply assign elementdata to the player "legalstatus" "illegal" while they are doing something illegal.
(eg: if you have a script where a player is street racing, set the participant's elementdata while the race is happening. if a policeman sees the player while this is set, the player will get a wanted star). Don't forget to set the elementdata back to nil when the illegal activity is over though!.
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
2.0.0 2009-09-15 05:19:20 -fixed copstation coords
-fixed copstation blips not dissappearing
-added more police vehicles
-added server option to set cops by teamname or by skin
-redid wanted star blip system
-many other small fixes
Download
1.5.0 2009-05-20 01:27:19 corrected restriction preventing increase of wanted level. updated for compatability. Download
1.0.1 2009-04-17 04:02:40 minor update Download
1.0.0 2009-04-17 03:44:55 First public release Download