Esx_paintball

Hello, there

Today I share this esx_paintball From EagleOne.

https://■■■■■■■■■■■■.net/viewtopic.php?f=10&t=865

download >>https://drive.google.com/file/d/1KBW101A39lV6FU8ZzvYfwIy8lR9hB8ca/view?usp=sharing


He said that to all. I just translate in english and sorry if you find some grammar mistakes.

"Mod that adds paintball activity to your ESX server.
Players must empty their inventory and remove their weapons. Otherwise the inventory will be LOST.
The teleporter is in the prison and the land is not far away.
to change the teleporter, change the home and homeblip coordinates for the new location in the client / main.lua file.
By choosing the team, the player changes skin and becomes first person. If he leaves the field, he becomes dressed again.
You must add these resources to your server.cfg for the resource to work.

start paintball_map
start esx_paintball
start gun
start InteractSound

You can do whatever you want with the resource edit, share etc.
I do not offer support for this resource, I share it because it collects dust
on my hard drive and I believe that someone could enjoy it.
A thank you to QcLiquid who made the paintball field".

Good paintball!
ps: translate this esx in english if necessary

22 Likes

Nice on posting this for FiveM in english. I had it before it was posted on here lol from the original page.

1 Like

anyone kno how to read some french tho?

better translate it use google translate

You should reupload the script to either github, google drive, or if you can, to here. They’ll unlist this with a mediafire link and rightfully so.

ok I will do it right now

Thanks! I will test it and come back soon for my feedback!

1 Like

once you leave the paintball arena, sometimes it keeps the gun on you :frowning:

any possibility of this work in standalone?

1 Like

anyone have English translate

2 Likes

Hello, my auto revive doesnt work how can i fix that?

2 Likes

the revive is not revivng the correct steam id

1 Like

ambulance job only work if player job is a ambulance here server/main.lua 10 line
if xPlayer.job.name == ‘ambulance’ then

you cann add this function under revive function in ambulancejob

RegisterServerEvent(‘esx_ambulancejob:paintballrevive’)
AddEventHandler(‘esx_ambulancejob:paintballrevive’, function(target)
TriggerClientEvent(‘esx_ambulancejob:revive’, target)
end)

and change your paintball
TriggerServerEvent(‘esx_ambulancejob:revive’, serverId)
to
TriggerServerEvent(‘esx_ambulancejob:paintballrevive’, serverId)

Tried this, the memory usage increases and does not stop. Might want to look into that.

is this even working?

1 Like

Yep memory leak, upper ram usage after time and non stop

Delete this
RegisterNetEvent(‘esx:playerLoaded’)
AddEventHandler(‘esx:playerLoaded’, function(xPlayer)
playerJob = xPlayer.job.name
playerGrade = xPlayer.job.grade_name
PlayerData = xPlayer
end)
75 to 80 line client/main.lua memory leaked stopped

1 Like

how can I assign a function where the player to be hit by an example gun combat pdw he only takes 1 damage and raise his hand and only lower when he arrives at a point (blip) idea for paintball

Is there a way to set an auto revive when one player gets knocked instead of an admin having to revive all the time or EMS standing stand by in the field?

1 Like

Maybe you can Use HasEntityBeenDamagedByEntity(entity1,entity2,1), or just check when Player1 have a change in his health, do the other script.