02.05.2016, 15:38
Thanks for your reply!
1. I want to put qoute marks in this line. I mean I want to be able to print qoute marks, so I can see it when the program is running. (In a regular sentence)
But I don't know how.
2. I'm creating a program for creating multiable varibles for pawn.
And I need a function so the user can enter his line of code (in this case SetDynamicObjectMaterial)
Like this:
And it comes out like this in my program:
The program have added "ObjectGround1 = " and "ObjectGround2 = "
And now the user can just copy the code.
But I don't know how to do.
I mean handle the pasted code/text that the user pasted.
And write some text infront of it.
1. I want to put qoute marks in this line. I mean I want to be able to print qoute marks, so I can see it when the program is running. (In a regular sentence)
But I don't know how.
Код:
cout << "SetDynamicObjectMaterial(" << objID << raknare3 << " , " << ind << " , " << << texture << " , " << modeltex << ");" << endl;
And I need a function so the user can enter his line of code (in this case SetDynamicObjectMaterial)
Like this:
pawn Код:
SetDynamicObjectMaterial(MiniGr, 0, 16202, "des_cen", "sandgrnd128");
SetDynamicObjectMaterial(MiniGr2, 0, 16202, "des_cen", "sandgrnd128");
pawn Код:
ObjectGround1 = SetDynamicObjectMaterial(MiniGr, 0, 16202, "des_cen", "sandgrnd128");
ObjectGround2 = SetDynamicObjectMaterial(MiniGr2, 0, 16202, "des_cen", "sandgrnd128");
And now the user can just copy the code.
But I don't know how to do.
I mean handle the pasted code/text that the user pasted.
And write some text infront of it.