How to make pawn ignore the " character in a string
#1

I want to use " in a string that will be visible to players, for example:
Код:
format(string, sizeof(string), "If you don't see the email, check the "spam" folder.");
how to i make pawn ignore the " character? i knew it was something like /" , but i doesn't work.
Reply
#2

i use this [ ' ]

format(string, sizeof(string), "If you don't see the email, check the ''spam'' folder.");

press twice and go, the message in the game looks the same
Reply
#3

Quote:
Originally Posted by Florin48
Посмотреть сообщение
i use this [ ' ]

format(string, sizeof(string), "If you don't see the email, check the ''spam'' folder.");

press twice and go, the message in the game looks the same
But it's not the same. As ****** said, he just needs to use \ before the ".
Reply
#4

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
But it's not the same. As ****** said, he just needs to use \ before the ".
that is a character that resembles the quotes, press it twice, and the message sent to the player looks the same as the quotes.
Reply
#5

PHP код:
format(stringsizeof(string), "If you don't see the email, check the \"spam\" folder."); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)