Cool Text Design!

Posts 111 of 11 · Page 1 of 1
Cool Text Design!
Okay this is based off something NeoIII posted. I edited a lot and added some stuff. Here ya go!
[php]void DrawCText(int x, int y, DWORD color, char *szFormat, ... )
{
if( !szFormat )return;

char logbuf[256] = { 0 };

va_list va_list;
va_start (va_list, szFormat);
_vsnprintf(logbuf, sizeof(logbuf), szFormat, va_list);
va_end (va_list);

Directx.DrawString((float)x+1,(float)y,D3DCOLOR_AR GB( 255, 0, 0, 0 ),Directx.pFont,logbuf);
Directx.DrawString((float)x,(float)y,D3DCOLOR_ARGB ( 255, 0, 0, 0 ),Directx.pFont,logbuf);
Directx.DrawString((float)x,(float)y-1,D3DCOLOR_ARGB( 255, 0, 0, 0 ),Directx.pFont,logbuf);

Directx.DrawString((float)x,(float)y,color,Directx .pFont,logbuf);
} [/php]
As you can see there is a small anti-noob error.

The image is not exactly what it looks like. The quality of the image is not the best...
picture...........
Quote Originally Posted by Crash View Post
Because two in a row are always better.
oops xD...
Fixed!

Quote Originally Posted by GodHack2 View Post
picture...........
taking one now!
Code:
Directx.DrawString((float)x+1,(float)y,D3DCOLOR_ARGB( 255, 0, 0, 0 ),Directx.pFont,logbuf);
Directx.DrawString((float)x+1,(float)y,D3DCOLOR_ARGB( 255, 0, 0, 0 ),Directx.pFont,logbuf);
Because two in a row are always better.
Rofl. I saw you in game when I was busy testing stuff. I was about to OPK you when you left.
Your anti noob error was so easy to find o.o
UC your location is wrong
Quote Originally Posted by freedompeace View Post
And this is "cool" because...? Sorry if I'm blind, but I frankly don't see any difference <>
I just see a little change of font and white text. I'm missing the point also


Quote Originally Posted by GodHack2 View Post
UC your location is wrong
Lmao , i know , i didn't fix it since i m lazsy.
FUCK MY BACKSAP}|||ace key!!!

i don't see the difference.
Quote Originally Posted by Fabolous View Post


I just see a little change of font and white text. I'm missing the point also




Lmao , i know , i didn't fix it since i m lazsy.
According to the code, it's just a static shadow 1px offset. |:
And this is "cool" because...? Sorry if I'm blind, but I frankly don't see any difference <>
Posts 111 of 11 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?