Pepe Framework & Paypal

Paypal is back, make a ticket for purchases! https://HighDevelopment.eu is the homebase and place to buy Pepe Framework.

Register Log in

hulp gevraagd bij pakken van equipment esx_mechanicjob

soldier

Member
Credits
16
ik heb een custom ambu script alles werkt alleen heb ik een probleem dat wanneer ik verband pak ik de eror krijg Attempt to call a nil value (global ‘activeerhandelingserver’)


1624481407116.png


in de code string

________________________________________________________________________
unction(data, menu)

if data.current.value == 'get_equipment' then

TriggerServerEvent('esx_mechanicjob:getstockitems', 'weapon_flashlight', 1)

TriggerServerEvent('esx_mechanicjob:getstockitems', 'WEAPON_FIREEXTINGUISHER', 2000)

TriggerServerEvent('esx_mechanicjob:getstockitems', 'WEAPON_PETROLCAN', 2000)

TriggerServerEvent('esx_mechanicjob:getstockitems', 'WEAPON_WRENCH', 1)

TriggerServerEvent('esx_mechanicjob:getstockitems', 'WEAPON_CROWBAR', 1)

TriggerServerEvent('esx_mechanicjob:getstockitems', 'WEAPON_HAMMER', 1)

elseif data.current.value == 'del_equipment' then

TriggerServerEvent('esx_mechanicjob:putStockItems')

end

end,

function(data, menu)

menu.close()

end
________________________________________________________________________
wie weet hoe ik deze codestring kan fixen
 
Last edited:
Top