Hello, I made a custom game mode from scratch and have run into a bump in the road. I want to allow people to own properties, and I am unsure of how to add door functions and a property system. How do you create a door system such as the ones used in DarkRP and other game modes? Also, how do you go about a proper system? I figured if I can get doors working somehow then I can simply change a few variables in an existing property system and have it work just fine.
Could someone please reply?
[QUOTE=Rolex;52309162]Could someone please reply?[/QUOTE]
Your question makes no sense.
How much of your gamemode have you finished?
All I have left to do is create the property system, fix money, and add a job NPC. So basically I would say it's about 95% complete. My question is basically how do you make a door system or implement one from another game mode.
[QUOTE=Rolex;52309220]All I have left to do is create the property system, fix money, and add a job NPC. So basically I would say it's about 95% complete. My question is basically how do you make a door system or implement one from another game mode.[/QUOTE]
Do you mean locking or unlocking doors or What?
Yes, like when a player buys the door they have access to unlock/lock.
Read how the inspired gamemode does it. The code is usually publicly available.
[editline]3rd June 2017[/editline]
Door:Fire("unlock", "", 0) or Door:Fire("lock", "", 0)
[QUOTE=code_gs;52309229]Read how the inspired gamemode does it. The code is usually publicly available.[/QUOTE]
I did look at the code from DarkRP, however it was confusing because I did not see how the module initiated itself or know what variables I would need to change.
Sorry, you need to Log In to post a reply to this thread.