C
C#3y ago
Squirtle

Need help with creating a parking program (just text)

i want to make a program where busses takes 2 parking positions, car takes 1 and biker takes 0,5 and if another biker comes it should park besides the other biker so it turns to 1, and the program shouldnt display 0,5's as a parking position so when one biker comes it takes 0,5 but in the program i want it to display 1
11 Replies
Squirtle
SquirtleOP3y ago
as of now my program kinda works but it sometimes buggs by not displaying all the vehicles indexes
qqdev
qqdev3y ago
Can you provide your code? meowheart
Squirtle
SquirtleOP3y ago
BlazeBin - zazyfnyadimk
A tool for sharing your source code with the world!
Squirtle
SquirtleOP3y ago
BlazeBin - aacchtgardgd
A tool for sharing your source code with the world!
qqdev
qqdev3y ago
Thanks! Can’t look at it cause of mobile data but others will!
Squirtle
SquirtleOP3y ago
thanks appreciate it ❤️ The color variation is on swedish but hope the rest is understandable
pox
pox3y ago
If you want we can do a quick talk about it, we can take it in swedish. There is alot you can improve with the code etc
Tvde1
Tvde13y ago
you've shared a lot of code. What exactly is your question?
Squirtle
SquirtleOP3y ago
Would be great I want the biker to take 0.5 spots but the code to display it takes one parking inateas And if it is 0.5 somewhere i want the biker to take the spot were it already is one biker
pox
pox3y ago
Just give me a call
Squirtle
SquirtleOP3y ago
Perfect Not home at the moment will be home in about 1 hour
Want results from more Discord servers?
Add your server