06.08.2013, 18:27
(
Last edited by bartekdvd; 06/08/2013 at 07:22 PM.
)
Well, I was trying to do like you did, but compiler constantly throws a warning for me:
compaction buffer overflow
[uL]Pottus, Your implementation of GetPlayerSampColorAsText is incorrect:
EDIT:
Damn, it really is only 100. I need to rewrite it completely. I will store it in an array now.
EDIT 2:
Updated - 100 colors repeated 10 times stored in an array.
compaction buffer overflow
[uL]Pottus, Your implementation of GetPlayerSampColorAsText is incorrect:
pawn Code:
printf("%s", GetPlayerSampColorAsText(16)); //output: {fd9faf} instead of {0fd9fa}
Damn, it really is only 100. I need to rewrite it completely. I will store it in an array now.
EDIT 2:
Updated - 100 colors repeated 10 times stored in an array.