Esx_paintball

you could do something like this

local pb = false (at the top of the script)

then set pb to true when you go through the paintball blip then you could make a command to trigger the revive event and to use it check to see if pb = true, then once you exit the blip make it set pb back to false

(im sending you this assuming you know how to implement it, i will not do this for you so dont ask lol, sorry)

can u help me that didnt work

sorry do “if pb == true then”

how active auto revive ? my friends die and count point upload 1,2,3,4,5,6

add this your ambulance job, under normal ambulance job revive function

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

after change your paintball resource revive function to

TriggerServerEvent(‘esx_ambulancejob:revive’, serverId)

this

TriggerServerEvent(‘esx_ambulancejob:paintballrevive’, serverId)

When they leave the paintball, weapon stays in their inventory…
How to fix?

Can i run this on vRP ?

2 Likes

Can any sending me the fixed version for ESX?
After die does not revive, uichanges the code, but nothing.
thanks

dosent work

Hi,
If you think you want to play paintball game then you must need the best equipment. I have researched on the internet and got some best paintball gun list. And also some great rules, tips, and tricks. You can find the buyer guide and reviews from here getpaintballgun.

Hope you will be a pro paintball player by following those.

1 Like

can you convert it to vrp or any chance to get paintball vrp version ? thanx

Voor mensen die belangstelling hebben bij de Nederlandse vertaling kunnen mij vragen. :slight_smile:

Autorevive dont work for me :frowning:

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)

So every player who wants to play paintball must have the job ambulance? That does not make sense

no with the script ive sent to you it will say, as soon as you are in the game, the ambulance script will no longer block your respawning. i had the same problem today until i found this, add it to ambulance job and paintball and it will be fixed.

Unbenannt2

I did everything that way and it doesn’t work for me.

I added these rows yesterday and found a bit error. You wrote this ‘ but whats need ’
everywhere.

Plz make this for FX server.

1 Like

The teams start with less than 100% Hp and one of the teams starts with less hp, theres a way to fix it?