25.10.2011, 21:34
Hello. I am creating a system like where you can own a company, and name the company. It is 15 companys in the game, 5 airlines, 5 trucking companys, and 5 bus companies.
What I need help with:
* Making it so that it creates a file with the list of all the companys with name. For instance:
etc...
* Reading the names of company from file
* Making a command to change the name, so a player can write for instance: /changecompanyname (New Company Name) so they don't have to ask the owner to change via the files.
I'll rep for anyone that can help me with that, not neccesarily write it for me, but guide me into making in or referencing to another page where I can find the neccesary codes to write etc.
Thanks in advance.
What I need help with:
* Making it so that it creates a file with the list of all the companys with name. For instance:
Код:
Company 1: Norwegian Airline Company 2: Bussing Company Company 3: DHL Trucking Company Company 4: Empty Company ... Company 15: Empty Company
* Reading the names of company from file
* Making a command to change the name, so a player can write for instance: /changecompanyname (New Company Name) so they don't have to ask the owner to change via the files.
I'll rep for anyone that can help me with that, not neccesarily write it for me, but guide me into making in or referencing to another page where I can find the neccesary codes to write etc.
Thanks in advance.