13.10.2010, 19:46
I'm making my gamemode with dini, and no problem there.
However, I'm thinking of adding houses and some sort of business system.
I don't know how this would be done with dini, but I'm thinking something like:
• Type command in-game
• sscanf that command to find shit like positions, cost, owner, garage or whatever the hell.
• Add those things to a dini file in "scriptfiles\Houses"
BUT - what should I name the file, and how would I load it OnGameModeInit, if I have, say, 100 houses?
In other words, I need to loop through all house-files and load them. How?
That's my problem, pretty much.
ALSO: I DON'T want your goddamn includes or FilterScripts. I don't learn shit by using someone elses work, I wanna do it myself.
However, I'm thinking of adding houses and some sort of business system.
I don't know how this would be done with dini, but I'm thinking something like:
• Type command in-game
• sscanf that command to find shit like positions, cost, owner, garage or whatever the hell.
• Add those things to a dini file in "scriptfiles\Houses"
BUT - what should I name the file, and how would I load it OnGameModeInit, if I have, say, 100 houses?
In other words, I need to loop through all house-files and load them. How?
That's my problem, pretty much.
ALSO: I DON'T want your goddamn includes or FilterScripts. I don't learn shit by using someone elses work, I wanna do it myself.