Gta V FiveM ESX Community Service
[Release] [ESX] ESX_CommunityService
https://forum.cfx.re/t/release-esx-esx-communityservice/464983
If you need FiveM Gameserver with one click installation check this:
https://zap-hosting.com/rpscripts
Wenn ihr ein Gameserver mit schneller FiveM Installation braucht, könnt hier reinschauen:
https://zap-hosting.com/rpscripts
Resource description:
An alternative form of punishment and social correction to jail. With this script, you can now send criminals in the central square, to provide community service by cleaning and gardening. Some say it’s more harsh than jail since citizens get to mock you while you are trying to do your time.
Try to escape it and you will get your service extended!
Features:
Admin commands
You can’t evade service with disconnects.
Trying to escape service will result in service extension.
Installation:
Import esx_communityservice.sql in your database
Add this in your server.cfg :
start esx_communityservice
How to add to policejob menu.
Example in esx_policejob: client/main.lua:
{label = _U('fine'), value = 'fine'},
--add code below (don't forget to add ',' before new row)
{label = "Community Service", value = 'communityservice'}
elseif action == 'unpaid_bills' then
OpenUnpaidBillsMenu(closestPlayer)
-- add code below
elseif action == 'communityservice' then
SendToCommunityService(GetPlayerServerId(closestPlayer))
end
--add this function
function SendToCommunityService(player)
ESX.UI.Menu.Open('dialog', GetCurrentResourceName(), 'Community Service Menu', {
title = "Community Service Menu",
}, function (data2, menu)
local community_services_count = tonumber(data2.value)
if community_services_count == nil then
ESX.ShowNotification('Invalid services count.')
else
TriggerServerEvent("esx_communityservice:sendToCommunityService", player, community_services_count)
menu.close()
end
end, function (data2, menu)
menu.close()
end)
end
#fivem #rpscripts #free #gtav
Other Videos By RP Scripts
2020-03-28 | Gta V FiveM Esx Police Vehicle Tracker |
2020-03-26 | Gta V FiveM Esx TruckerJob (Truck Driver Job) |
2020-03-24 | Gta V FiveM Esx Disease - AfterUS Map - Whistle - Hazmat Suit |
2020-03-22 | Gta V FiveM Esx Real Parking |
2020-03-20 | Gta V FiveM Esx Vending |
2020-03-19 | Gta V FiveM TrafficManagement - Standalone AI Traffic Control |
2020-03-17 | Gta V FIveM Weazel News Pack Camera, Mic and Vehicles |
2020-03-14 | Gta V FiveM Esx Nightclub Job |
2020-03-13 | Gta V FiveM 80’s Bahama Mama’s |
2020-03-11 | Gta V FiveM Vape Script |
2020-03-08 | Gta V FiveM ESX Community Service |
2020-03-06 | Gta V FiveM Esx Window Cleaner |
2020-03-03 | Gta V FiveM Cluckin' Bell and McDonalds Maps |
2020-03-01 | Gta V FiveM Car Rental |
2020-02-28 | Gta V FiveM Esx CityWorks |
2020-02-26 | Gta V FiveM Esx Character Card |
2020-02-24 | Gta V FiveM Animated Banner |
2020-02-23 | Gty V FiveM Radial Configurable menu for commands |
2020-02-21 | Gta V FiveM Visual Pack - Vehicles and Locations Showcase |
2020-02-20 | Gta V FiveM Esx Foodtruck |
2020-02-17 | Gta V FiveM Atm Robbery |
Other Statistics
Grand Theft Auto V Statistics For RP Scripts
There are 6,029,127 views in 322 videos for Grand Theft Auto V. The game makes up 13 hours of published video on his channel, roughly 97.24% of Grand Theft Auto V content that RP Scripts has uploaded to YouTube.