I very need script... [ESX]

Hello guys! I have question… Do you know how to make a script when any player on my server will collecting weed, then i will get notification (only for police) about player is collecting drugs? (i don’t need blips on map… Just info.)

I tried to make myself by editing other notification script…
My drug script have this in code:
ESX.TriggerServerCallback(‘esx_drugs:canPickUp’, function(canPickUp)
if canPickUp then
TaskStartScenarioInPlace(playerPed, ‘world_human_gardener_plant’, 0, false)

so i tried to add notification everytime player start scenario (collecting drugs)
I really need your help guys! I belive in you all.

Trigger your notify event to all police clients (Player with police) on serverside, Im sure you have a position in your script, when not create it.
Share the source code with us, then we can help you more

1 Like

Here is client side from alert script…
main.lua (6.4 KB)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.