Events

INFO: In order to use client side events, you need to have Config.UseClientEvents set to true

Client Side

useNaturalSeed
TriggerEvent('pls_weed:useNaturalSeed')

Using this event, you will place seed in grass or allowed grass object.

usePlot
TriggerEvent('pls_weed:usePlot')

Using this event you can force place a plot on ground.

useFan
TriggerEvent('pls_weed:useFan')

Using this event you can force use fan tool.

useLight1
TriggerEvent('pls_weed:useLight1')

Using this event you can force use small light.

useLight2
TriggerEvent('pls_weed:useLight1')

Using this event you can force use industrial light.

Server side

WARNING: All source params need to be defined

WARNING: This event's is client sided, consider it as examples how to use on server side

INFO: All of this events has never been tested, use at own risk!

useNaturalSeed
TriggerClientEvent('pls_weed:useNaturalSeed', source)

Using this event, you will place seed in grass or allowed grass object.

usePlot
TriggerClientEvent('pls_weed:usePlot' source)

Using this event you can force place a plot on ground.

useFan
TriggerClientEvent('pls_weed:useFan', source)

Using this event you can force use fan tool.

useLight1
TriggerClientEvent('pls_weed:useLight1', source)

Using this event you can force use small light.

useLight2
TriggerClientEvent('pls_weed:useLight1', source)

Using this event you can force use industrial light.

Last updated