Not quite. im looking for a way to set a delay as if. you spawned a Predator pack, and after the 25 seconds was up it would kill you instantly. :S not quite sure on how to do it.
To walk you through what would happen in your program:
1. Give person, well call him
ID, a predator kit. Use GiveBonus instead of SpawnObject btw. At the same time as you do this, set a global variable called
Timer to 25.
2. Every second (AppOnIdle), remove 1 from
Timer.
Check if
Timer is equal to 0.
If it is: kill player
ID.
If it is NOT: do nothing!
If you need further help just PM me on IRC.