New line checker using strfind
#1

Can i get /n function from strfind.

Like this. . .

pawn Код:
format(string, 128, "%s", inputtext);
if(strfind(string, "/n", true) != -1)
{
    strins(string, "/n", strfind(string, "/n", true) != -1);
    SetObjectMaterialText(servertext, string, 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 24, 1, 1, 0, 0);
}
Reply
#2

It's \n for a new line, not /n. But yes, I suppose that would be possible.
Reply
#3

Bad me . .

But can i make like that code. . .?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)