Hi, heute stelle ich euch ein Polizei Job System vor, welches es kostenlos zum Download gibt. Außerdem werde ich euch zeigen welche Einstellungen Ihr vornehmen müsst!
Features: Waffenkammer, Fahrzeuge, Umkleidung, Cuff/Uncuff, suche von Spielern, Objekte erstellen usw..
Schritt 1: Wir laden die Dateien herunter.
Damit das esx_policejob Script überhaupt funktioniert braucht Ihr noch 5 weitere die ihr runter laden müsst
Schritt 2: Wir packen die Dateien in unseren Resourcen Ordner, bearbeiten die server.cfg und öffnen die Config Datei im Ordner von esx_policejob
(Falls du nicht weißt wie man das Script auf dem Server installiert schaue dir meine vorherigen Tutorials an.
Schritt 3: Script Konfigurieren.
Hier können wir einstellen, welche Waffen ein Rank bekommen soll sowie den Preis der Waffen.
Auf folgender Seite findet Ihr die Waffen IDS KLICK
Config.AuthorizedWeapons = {
recruit = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 1500},
{weapon = 'WEAPON_FLASHLIGHT', price = 80}
},
officer = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
sergeant = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
lieutenant = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
boss = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
}
}
Alles anzeigen
Hier könnt Ihr die Coords der Skinauswahl ändern
Das sind die Coords vom Waffenbunker
Hier könnt Ihr bestimmen wo die Fahrzeuge spawnen sollen
Vehicles = {
{
Spawner = vector3(454.6, -1017.4, 28.4),
InsideShop = vector3(228.5, -993.5, -99.5),
SpawnPoints = {
{coords = vector3(438.4, -1018.3, 27.7), heading = 90.0, radius = 6.0},
{coords = vector3(441.0, -1024.2, 28.3), heading = 90.0, radius = 6.0},
{coords = vector3(453.5, -1022.2, 28.0), heading = 90.0, radius = 6.0},
{coords = vector3(450.9, -1016.5, 28.1), heading = 90.0, radius = 6.0}
}
},
{
Spawner = vector3(473.3, -1018.8, 28.0),
InsideShop = vector3(228.5, -993.5, -99.0),
SpawnPoints = {
{coords = vector3(475.9, -1021.6, 28.0), heading = 276.1, radius = 6.0},
{coords = vector3(484.1, -1023.1, 27.5), heading = 302.5, radius = 6.0}
}
}
},
Helicopters = {
{
Spawner = vector3(461.1, -981.5, 43.6),
InsideShop = vector3(477.0, -1106.4, 43.0),
SpawnPoints = {
{coords = vector3(449.5, -981.2, 43.6), heading = 92.6, radius = 10.0}
}
}
},
Alles anzeigen
Hier könnt Ihr bestimmen welcher Rank Fahrzeuge welche Fahrzeuge benutzen darf und den Preis dafür.
Config.AuthorizedVehicles = {
car = {
recruit = {},
officer = {
{model = 'police3', price = 20000}
},
sergeant = {
{model = 'policet', price = 18500},
{model = 'policeb', price = 30500}
},
lieutenant = {
{model = 'riot', price = 70000},
{model = 'fbi2', price = 60000}
},
boss = {}
},
helicopter = {
recruit = {},
officer = {},
sergeant = {},
lieutenant = {
{model = 'polmav', props = {modLivery = 0}, price = 200000}
},
boss = {
{model = 'polmav', props = {modLivery = 0}, price = 100000}
}
}
}
Alles anzeigen
Hier könnt Ihr die Kleidung ändern
Config.Uniforms = {
recruit = {
male = {
tshirt_1 = 59, tshirt_2 = 1,
torso_1 = 55, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = 46, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 36, tshirt_2 = 1,
torso_1 = 48, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = 45, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
officer = {
male = {
tshirt_1 = 58, tshirt_2 = 0,
torso_1 = 55, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 35, tshirt_2 = 0,
torso_1 = 48, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
Alles anzeigen
Das waren auch die wichtigsten Teile des Scripts.
Viel Spaß
Kommentare
Neu erstellte Kommentare unterliegen der Moderation und werden erst sichtbar, wenn sie durch einen Moderator geprüft und freigeschaltet wurden.
Neu erstellte Kommentare unterliegen der Moderation und werden erst sichtbar, wenn sie durch einen Moderator geprüft und freigeschaltet wurden.