27.06.2012, 16:23
Is it possible to put comments inside strings? I want to make a list of models in a string like so:
Obviously that's not a string but an array, I'd like to make it a string without losing the coments so I know which vehicle is which.
Is there a way apart from using strcat? I'd really like to initialize the string as it is as it's never going to be changed.
I tried this but it turned it all in to a string:
:<
pawn Код:
new gVehModel_Motorbike[] = {
462, // Faggio
581, // BF-400
461, // PCJ-600
521, // FCR-900
463, // Freeway
586 // Wayfarer
Is there a way apart from using strcat? I'd really like to initialize the string as it is as it's never going to be changed.
I tried this but it turned it all in to a string:
pawn Код:
new gVehModel_Motorbike[] = "\
462, /* Faggio*/\
581, /* BF-400*/\
461, /* PCJ-600*/\
521, /* FCR-900*/\
463, /* Freeway*/\
586 \* Wayfarer*/\
";