how to use CG_DrawPic?


(xro) #1

Hi all.

I want to add “cs-ish” popups to my mod as seen here:
http://one.fsphost.com/h4des/screenies/shot0070.jpg

I’ve been looking in the source code and I found the CG_Obituary at cg_event.c


case MOD_MP40:
	message = "was killed by";
	message2 = "'s MP40";
break;

I know i have to place the image in the message and leave the message2 empty but I dont know how to add the image.

Thanks in advance