How do I change color of spawn protection when it has 4 seconds to left.
if spawnprotectione time == 4 color
I haven't tested I hope this is your answer.
Just use if else and <> :|
no problem in code, bu it doesn't work
Originally Posted by TheWoodPecker no problem in code, bu it doesn't work [mental]try this condition:[/mental] PHP Code: if((This->Parent->m_SpawnProtectedUntil - r3dGetTime()) <= 4.0f)
if((This->Parent->m_SpawnProtectedUntil - r3dGetTime()) <= 4.0f)
Last edited by Yuri-BR; 21-12-19 at 12:22 AM.
thanks