[Include] The one thousand REAL sa-mp colors
#3

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:
pawn Code:
printf("%s", GetPlayerSampColorAsText(16)); //output: {fd9faf} instead of {0fd9fa}
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.
Reply


Messages In This Thread
The one thousand REAL sa-mp colors - by bartekdvd - 06.08.2013, 16:56
Re: The one thousand REAL sa-mp colors - by Pottus - 06.08.2013, 18:02
Re: The one thousand REAL sa-mp colors - by bartekdvd - 06.08.2013, 18:27
Re: The one thousand REAL sa-mp colors - by PT - 07.08.2013, 03:30
Re: The one thousand REAL sa-mp colors - by Pottus - 07.08.2013, 04:26

Forum Jump:


Users browsing this thread: 1 Guest(s)