\ before ', \ instead of "
#1

Hi,

I've ran into a really frustrating issue which I cannot diagnose.
Every time you write " in chat, you get \ instead, and when you write ', you get \'.
For example:
Код:
hello" -> hello\
don't -> don\'t
Also, when \" is used in format, I get the same thing.
Код:
new str[128];
format(str,sizeof(str),"Hi my name is \"%s\"!","herp");
SendClientMessage(playerid,-1,str);
That displays:
Код:
Hi my name is \"herp\"!
The script that has this issue was not written by me, I'm just temporarily managing it. (the issue was there before I modified the code)
Any suggestions?
Reply
#2

Are you sure you didn't hit ALT + RSHIFT?
Reply
#3

Completely sure.
Turns out rolling back the updates fixes the bug, but I can't find the reason still..
Reply
#4

FOUND THE BUG
It was the chatlog:
Код:
mysql_real_escape_string(text,text);
NEVARR do this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)