Hello Haters =D
WarZ.sln (Last CodexPO)
Chance RED line (time in seconds)
Search
don't forgotCode:m_SpawnProtectedUntil = r3dGetTime() + 30.0f;
warz_server.sln
chance in
and all in, don't forgot!! all in sourceCode:if(needsSpawnProtection) plr->m_SpawnProtectedUntil = r3dGetTime() + 30.0f; // 30 seconds of spawn protection
extra, show Spawn Protection time in HUD player in-gameCode:m_SpawnProtectedUntil = r3dGetTime() + 30.0f;
search
addCode:if (isGameHardcore == true) //gamehardcore
Bye Haters =(Code:if(m_SpawnProtectedUntil > 0 && hudPause && !hudPause->isActive()) { float timeSP = m_SpawnProtectedUntil - r3dGetTime(); if(m_ZombieRepelentTime>0) Font_Label->PrintF(2, 15, r3dColor(255,255,255), "Spawn Protection Time: %.1f",timeSP); else Font_Label->PrintF(2, 0, r3dColor(255,255,255), "Spawn Protection Time: %.1f",timeSP); if (timeSP<=0) m_SpawnProtectedUntil=0; }


Reply With Quote![[TUTORIAL] Easy tutorial - SpawnProtection Time +Extra](http://ragezone.com/hyper728.png)


