Hallo Elitepvpers,
ich hab heute versucht das Tag und Nacht System von Jopsi332 einzufügen aber wenn ich compile dann kommen diese Error:
Quote:
WorldServer warning LNK4089: all references to 'NeuzD.dll' discarded by /OPT:REF
C:\TFPS\Source\Source\_Common\World3D.cpp(1776): error C2601: 'CWorld::IsNight' : local function definitions are illegal
C:\TFPS\Source\Source\_Common\World3D.cpp(1780): error C2601: 'CWorld::GetRealTime' : local function definitions are illegal
WorldServer warning LNK4089: all references to 'SHELL32.dll' discarded by /OPT:REF
WorldServer warning LNK4089: all references to 'SHLWAPI.dll' discarded by /OPT:REF
WorldServer warning LNK4089: all references to 'comdlg32.dll' discarded by /OPT:REF
WorldServer warning LNK4089: all references to 'ole32.dll' discarded by /OPT:REF
|
Zeile 1776 bis 1780 in der World3D.cpp:
Quote:
bool CWorld::IsNight(){
return ( g_GameTimer.m_nHour-1 <= 6 || g_GameTimer.m_nHour-1 >= 18 );
}
FLOAT CWorld::GetRealTime()
{
|