[HELP]Is it possible? To Color Embed in SSCANF? Maybe SSCANF Bug/ISSUE?
#1

Hello members we already know how to use color embedding.

pawn Code:
SendClientMessage(playerid, -1, "Random text is {00FF00}green {FFFFFF}color.");
Result



In SSCANF2

pawn Code:
CMD:metype(playerid,params[])
{
new string[256];
format(string,sizeof(string),"I just typed %s",params);
SendClientMessage(playerid, -1 , string);
return 1;
}
Result



FAILLLLLLLLLLLLLLLLLLLLL WTF HELP



Please Help Me My Dear Mates, BTW ****** SIR Please Help me to resolve the issue!
OR
Is there any other way to do things like this?


Reply
#2

The client filters it out before sending it to the server, this isn't a bug with sscanf.
Reply
#3

Quote:
Originally Posted by Vince
View Post
The client filters it out before sending it to the server, this isn't a bug with sscanf.
Is there anyother way to do things like this?
Reply
#4

BUMP
Reply
#5

Bump
Cmon
Reply
#6

Bump.
Anyone?
Reply
#7

You can try it, I am not sure whether it will work or not.

Code:
CMD:metype(playerid,params[])
{
new string[128];
new hexcode;
if(sscanf(params,"h",hexcode))return 1;
else
{
format(string,sizeof(string),"I just typed {%x} %s",hexcode,params);
SendClientMessage(playerid, -1 , string);
}
return 1;
}
Reply
#8

Quote:
Originally Posted by ******
View Post
There are loads of ways - just make one up.
Can you provide me any source?
Sir, I don't know other ways. Please Guide me sir...
Reply
#9

Quote:
Originally Posted by codectile
View Post
You can try it, I am not sure whether it will work or not.

Code:
CMD:metype(playerid,params[])
{
new string[128];
new hexcode;
if(sscanf(params,"h",hexcode))return 1;
else
{
format(string,sizeof(string),"I just typed {%x} %s",hexcode,params);
SendClientMessage(playerid, -1 , string);
}
return 1;
}
I know this very well.
I Want MULTIPLE COLORS but with this we can only display the result with single color
Reply
#10

Try to make more than one result?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)