Topic: [HELP] Some code questions for the Stay on the Flag mod
Hi everyone,
I'm making two mods called "Stay on the Flag" (short SotF) and "Get the Flag" (short GTF) and I don't know some code, so here my questions:
1. What is the code to wait a small time like 0.5,1,2,3 sec before going on in the code.
2.* What is the Code to let a player selected by client id respawn, this one is not working:
- game.players[client_id]->respawn();
3.* I want to make an instagib version of the mods, but what is the code to delete the entitys like
health, armor and weapons? My character is starting with only Laser and infinite ammo but
if he picks up an laser he has only 10 shots left. And I need the the code for the laser that kills
with one shot, without the damage-stars.
* = DONE
I hope you can help me