Posts: 417
Threads: 104
Joined: Jul 2011
Reputation:
0
How can I make a dynamic system? Like weapon lockers, where I could just go ingame and do /createlocker [1-10]
I'v searched for tutorials but I couldn't find none, I dont need it created for me, just show me how I could create it.
Posts: 51
Threads: 12
Joined: Jul 2010
Reputation:
0
Well, you could create weapon lockers on the same way you would create for example businesses in a Roleplay Script.
Make an enum, where every needed variable is included (Pos x, y, z / Owner etc.) and store those lockers in Text Files. Then save them with stocks / publics when there are changes on them done (not really needed though) and load them at OneGameModeInit.
That's how I would do it.
Posts: 153
Threads: 27
Joined: Jun 2011
Reputation:
0
Giovanni you really have huge expirience rep++