SA-MP Forums Archive
[HELP] Color Embedding - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Color Embedding (/showthread.php?tid=206611)



[HELP] Color Embedding - Larsey123IsMe - 04.01.2011

Hmm whats wrong =/

like it is now:
%s(%d) Has been kicked
.
.
.
But why it dont show the rest of the line? (of inactivity.)

It should be like:
%s(%d) Has been kicked of inactivity.


pawn Код:
format(string, sizeof(string), "%s(%d) Has been {FF0000}kicked of inactivity.",name, playerid);
SendClientMessageToAll(0x001699AA, string);



Re: [HELP] Color Embedding - MJ! - 04.01.2011

what's the lenght of string ? ( sizeof )


Re: [HELP] Color Embedding - HyperZ - 04.01.2011

pawn Код:
format(string, sizeof(string), "{0049FF}%s(%d) Has been {F81414}kicked {0049FF}of inactivity.",name, playerid);
SendClientMessageToAll(0x0000BBAA, string);



Re: [HELP] Color Embedding - FreshDoubleX - 04.01.2011

And make sure that new string[128(size)] - Size is higher than the line.


Re: [HELP] Color Embedding - Larsey123IsMe - 04.01.2011

Thanks to:

Clive

and

FreshDoubleX




Re: [HELP] Color Embedding - MJ! - 04.01.2011

Yea, that's why i asked you what's the lenght of the string 8-|


Re: [HELP] Color Embedding - HyperZ - 04.01.2011

Quote:
Originally Posted by Larsey123IsMe
Посмотреть сообщение
Thanks to:

Clive

and

FreshDoubleX

You're welcome.