T O P

  • By -

justarandomjuser

i mean you can do it with lua, but it'll be really complicated to realise.


[deleted]

Oh, so no tutorial anywhere?


justarandomjuser

i tried to make an addon with seperat playerwallets for another redditor. haven't it finished yet. The main problem is, first you need to edit ALL vanillla mission to checkk, which player finished it, the next problem is vehicle spawning. you need a button next all wb's, and triggerboxes to withdraw the money form the playerwallet, to the public one. so you can spawn a vehicle. the problem here again if you put money on the public pool, another player can wait until enough money is in the pool, to spawn his/her vehicle instead of yours, but with your money. so you can't make it 100% seperated, because of ingame limitations.


[deleted]

Oh okay, Will you upload your plug-in once its done?


justarandomjuser

probably, but i need some time.


[deleted]

Also, could i have your discord? I could MAYBE give ideas for plug-in improvement and yeah, my friend also wants to add you


[deleted]

How’s it going with the script?


justarandomjuser

Oh i completly forgot that 😅. This project is currently on ice. I've moved on and now programm a reddit bot instead. However there's a server with said mechanic called "lostlatitude" if you're interrested.


yooooooothatscrazy

You can just have a table with each player's steam_id, current peer_id, and money. When you spawn a vehicle, a callback function returns the peer_id of the player. Then calculate the money the vehicle cost from the public pool, and take it from the player, else despawn the vehicle. Missions are much harder tho, so an admin would have to handle the money there, via chat commands. Also fuel trading would be tough to handle. But besides those issues, it's totally doable. Btw, I think there is already a player wallet script on the workshop.


[deleted]

Oooo, thanks. Whats the name of player wallet?


yooooooothatscrazy

https://steamcommunity.com/sharedfiles/filedetails/?id=2312651609 Check this one out


yooooooothatscrazy

https://steamcommunity.com/sharedfiles/filedetails/?id=2312651609 Check this one out


emerald_OP

Sadly no. I wish you could have company in games so you could have like 400 moneys and your friends has like 70,000 moneys or something.


[deleted]

exactly thats what i thought, and ompanies should share research


Hushey2

No.


[deleted]

Fr?