[Off] Duvida
#1

Eu to tentando fazer um salvamento por dof2 й nгo tava salvando quem tem o nick com "[" e "]" aн achei isso na include

Код:
stock DOF2::udb_encode (nickname [])
{
	new
		buf [256],
		result [256];

	static const symbols [][2][] =
	{
	    {"_", "_00"},
		{";", "_01"},
		{"!", "_02"},
		{"/", "_03"},
		{"\\", "_04"},
		{"[", "_05"},
		{"]", "_06"},
		{"?", "_07"},
		{".", "_08"},
		{"*", "_09"},
		{"<", "_10"},
		{">", "_11"},
		{"{", "_12"},
		{"}", "_13"},
		{" ", "_14"},
		{"\"", "_15"},
		{":", "_16"},
		{"|", "_17"},
		{"=", "_18"}
	};

	strcat (buf, nickname);
	for (new i = 0; i < sizeof (symbols); ++i)
	{
	    DOF2::strreplace (symbols [i][1], symbols [i][0], buf, result);
	    DOF2::strcpy (buf, result);
	}
	return result;
}
Se eu tirar pode dar merda?
Reply
#2

.......
Reply
#3

Tente. Se der merda, coloque novamente. Senгo, trabalho feito.
Reply
#4

Nгo irб da merda, a nгo ser que esteja usando esta funзгo no GameMode.
Reply
#5

eu tirei й ainda nao ta salvando
Reply
#6

Compilou o GameMode novamente apуs retirar?
Reply
#7

sim nao salva nome de quem tem [] Exp
[ExE]SatanMessager
Reply


Forum Jump:


Users browsing this thread: