Q: Drugs System - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Q: Drugs System (
/showthread.php?tid=333899)
Q: Drugs System -
Ezay - 13.04.2012
Hey Lads,
I'm Currently Making an Advanced Drug(s) System.
Currently i'm Creating the Drug "Weed/Marijuana"
Created a Enum, Ect, Created a Few Commands, Now For Planting...
So I'm Currently Working Alonge Through my System.
But I've Come to a
Halt, I'm Wondering How i Can Make them Plant, Basically Anywhere on Grass.
Would i Create a Enum, Store My Positions,
Like... I'm Really Not Sure.
I'd Really Appreciate Any Help on This,
Also Wouldn't Mind a Couple of Tips/Ideas for my Drug System, Their Also, More then Welcome
Cheers
Ezay
\o/
Re: Q: Drugs System -
Ezay - 13.04.2012
Bump
>.<
Re: Q: Drugs System -
taborda11 - 13.04.2012
Yes you can do that.
Re: Q: Drugs System -
DonWade - 13.04.2012
Its not possible to detect if player is standing on grass , im pretty sure in that
Re: Q: Drugs System -
Ezay - 13.04.2012
Alright, Cheers
Re: Q: Drugs System -
spedico - 13.04.2012
You could get all areas with grass, but that would take a lot of time. You could make it so it's not worth to plant them at a visible location. For example, other players could steal them.
Re: Q: Drugs System -
Ezay - 13.04.2012
Quote:
You could make it so it's not worth to plant them at a visible location
|
@Spedico
Cheers For the Reply,
Although I Dont Really Get What You Mean Above, and I'm Just Making it, From the House X,Y,Z, You Can Plant Within 40(Radius) == Backyard, So Chyeah.
Re: Q: Drugs System -
ReneG - 13.04.2012
You could use
IsPlayerInArea and make an area somewhere out there in a field in the asscrack of the country, and also make it available for them to grow in their player-owned houses? Goodluck
Re: Q: Drugs System -
Ezay - 13.04.2012
Vincent, Awh Dude.
Why Diden't I Think of That, Aha.
Cheers, fo' yo' Help!