What's new

Request Weed system

Yvan XD

Gold Elite
Joined
Oct 1, 2021
Messages
229
Reaction score
4,289
Points
306
Location
Munich
someone?? or any other script with props that spawn in a random area
yes for example modfreakz dope plants ...


dopeplant-800x643.png
 

Yvan XD

Gold Elite
Joined
Oct 1, 2021
Messages
229
Reaction score
4,289
Points
306
Location
Munich
i have it but i have also a problem that police cant destroy the plant evrything else works fine?

it's weird, I'm getting there, do you have the name police in your database?

function MFD:SyncPlant(plant,delete)
local xPlayer = ESX.GetPlayerFromId(source)
while not xPlayer do Citizen.Wait(0); ESX.GetPlayerFromId(source); end
local identifier = xPlayer.getIdentifier()
plant["Owner"] = identifier
if delete then
if xPlayer.job.label ~= self.PoliceJobLabel then
self:RewardPlayer(source, plant)
end
end
self:plantCheck(identifier,plant,delete)
TriggerClientEvent('MF_DopePlant:SyncPlant',-1,plant,delete)
end
 

Nupppp

Gold Elite
Joined
Sep 25, 2021
Messages
37
Reaction score
286
Points
311
Location
Some were you don`t know
yes for example modfreakz dope plants ...


View attachment 3071
the thing is with dopeplant you need to plant stuff yourself, i`m looking for a script where in the config is set a specific place were "weed" or anything else will spawn with a prop in a random area, i need something like that for a small setup so i can work further with that
 

anes66

Gold Elite
Joined
May 12, 2021
Messages
54
Reaction score
60
Points
221
it's weird, I'm getting there, do you have the name police in your database?
yeah its there but the problem is my complete job system items and evrything else is in config on es_extended :D
 
Joined
May 16, 2021
Messages
3
Reaction score
0
Points
146
hello guys,

i`m looking for a weed script for esx 1.2 where you need to pick the weed but the weed is spawning in random ares i will place a video down here so you can check out what i mean, hopefully someone can help me out.

wery nice
 

stereochoc

Gold Elite
Joined
May 11, 2021
Messages
49
Reaction score
439
Points
296
hello guys,

i`m looking for a weed script for esx 1.2 where you need to pick the weed but the weed is spawning in random ares i will place a video down here so you can check out what i mean, hopefully someone can help me out.

 

Meticuloso

Member
Joined
Mar 21, 2022
Messages
10
Reaction score
1
Points
156
Location
Brazil
hello guys,

i`m looking for a weed script for esx 1.2 where you need to pick the weed but the weed is spawning in random ares i will place a video down here so you can check out what i mean, hopefully someone can help me out.

this is cool
 
Top