#I need to make a generator skript
1 messages · Page 1 of 1 (latest)
lists are lame
i dont wanna write long ass lines for just 1 generator
no thats male 07 from half life 2
gimme an example
So what do u intend to do let's start there
i was just using registerGen so i could do this
registerGen(hay bale, wheat named "&eWheat drop", 10)
so what would happen is, every (delay) seconds, we will loop around the player and if there is a haybale, we will check if that haybale belongs to any player (my job), then we will drop the (item) there
i used 16 different gpts, and hours upon hours of digging in the docs, i tried many things,
block
blockdata
string parsed as block
string parsed as blockdata
some other things i tried i dont remember
yep
So we need to predefine then prior to this if we wanna use lists.
If we use a function we can technically skip this part, we just need to index the list properly.
this is how I would do it as an example
{generator::%player's uuid%::block}
{generator::%player's uuid%::item}
{generator::%player's uuid%::delay}
But it wouldn't entirely work for multiple
so we can index it as such
{generator::%player's uuid%::%{_block}%::item}
{generator::%player's uuid%::%{_block}%::delay}
For each player, each block a variable can automatically be created.
it contains two small boxes containing the item + name and in the other the delay we need.
in gmod this would be so ez 
bro im in love with gmod
i have like 90 hours in last 2 weeks
i tried making gmod addons but i couldn't find any good resources to guide me
just hmu

wait till u see my personal one