Can i add comments to artconfig.txt?
#1

Thats the question... Can I add comments in my artconfig.txt file like in pawn?

For example:

Код:
AddCharModel(13, 20033, "ped10.dff", "ped10.txd"); // work guys
AddCharModel(15, 20034, "ped11.dff", "ped11.txd"); // Girls
I wanna know cause' it's more easy for me when i'm looking for some object in artconfig.
Reply
#2

Did you even try before posting? It takes less time to find out if the models are added than creating a thread.

Yes, it does work.
Reply
#3

Quote:
Originally Posted by NaS
Посмотреть сообщение
Did you even try before posting? It takes less time to find out if the models are added than creating a thread.

Yes, it does work.
I've working on some things ...
so I've expected someone answer me before restart the server again with everything modified and be able to add the comments in artconfig if is possible.

But anyway.. thank you for your help.
Reply
#4

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
I've working on some things ...
so I've expected someone answer me before restart the server again with everything modified and be able to add the comments in artconfig if is possible.

But anyway.. thank you for your help.
You could've started a second instance.
Reply
#5

If you can, you should only use this tag.

Код:
#This is an example, here you can write the type of model.
AddCharModel(305, 20000, "example1.dff", "example1.txd");
My code of example.
https://i.imgur.com/e0V7peF.png
Reply
#6

Quote:
Originally Posted by ZaikerH
Посмотреть сообщение
If you can, you should only use this tag.

Код:
#This is an example, here you can write the type of model.
AddCharModel(305, 20000, "example1.dff", "example1.txd");
My code of example.
https://i.imgur.com/e0V7peF.png
Why only hashtag?

You don't need any sign in the beginnning of the line, invalid lines will be ignored. You can use "//" or ";" or "X" or whatever you want to comment out otherwise valid lines, even after a AddCharModel line you can type anything.

Код:
This line is ignored
AddCharModel(305, 20000, "example1.dff", "example1.txd"); this text will not prevent the model from loading
 AddCharModel(305, 20000, "example1.dff", "example1.txd"); this line will not be loaded because of the space at the beginning of it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)