Hi, I´m S34Qu4K3 from Spain and i have to write this in english beacause I don´t know russian
1)First Problem
I´ve made this tutorial from Wavelenght: http://articles.thewavelength.net/315/
I don´t have any problems with the cl_dll compilation but when I am in game (I use Single PLayer Source Code from HL SDK v 2.3) all the says are black, only work if I put ^0SomeText.
I think that the problem is here, in the saytext.cpp:
C++ Source Code:
else
{
gHUD.DrawHudString( LINE_START, y, 320, g_szLineBuffer[i] ,255, 255, 0, 0 );
}
If i put this, the say is Black but if I put the original code:
C++ Source Code:
DrawConsoleString( LINE_START, y, g_szLineBuffer[i] );
I have the default colours but ^0,^1,^2, etc don´t work
I hope that somebody can help me
2º Question
I´ve made a tutorial which teach me how to make a Dash key with stamina bar, but now, I want to put the camera in thirdperson when I´m pressing the dash key
I´ve made some trys but I´m not able to make it. I´ve tried to execute the command "thirdperson" in pm_shared.cpp but i have compilation errors,
Undefined Symbol Engfuncs.
I´ve I put in pm_shared.cpp #include "cl_utils.h", when i try to compile, the header has lots of unexpected errors.
COde where the thirdperson command must be:
C++ Source Code:
1
for (i=0 ; i<2 ; i++) // Determine x and y parts of velocity