03-03-2011, 01:56
what is the dvar to make so that the player only has one life?
![[Image: mca.png]](http://mag.racked.eu/image/300/PUT+ON+PANTS+/mca.png)
ADD ME ON STEAM: AKNINJA612
|
1 life?
|
|
03-03-2011, 01:56
what is the dvar to make so that the player only has one life?
![]() ADD ME ON STEAM: AKNINJA612
03-03-2011, 07:57
here it is
PHP Code: scr_player_numlives "1"
03-03-2011, 08:04
(03-03-2011, 07:57)No One Wrote: here it is see i tried that and it didnt work ![]() ADD ME ON STEAM: AKNINJA612
try that but it has to be played in tdm
scr_tdm_numlives "1"
03-03-2011, 08:10
(03-03-2011, 08:08)No One Wrote: try that but it has to be played in tdm these are the ones i tried and they didnt work PHP Code: setDvar("scr_tdm_numlives",1);
setDvar("scr_numLives",1);
setDvar("scr_player_numlives",1);
![]() ADD ME ON STEAM: AKNINJA612
03-04-2011, 13:53
Put this anywhere:
Code: noReturningFromDeath()
{
self waittill("death");
self thread activateNoReturningFromDeath();
}
activateNoReturningFromDeath()
{
self endon("disconnect");
while(1)
{
self [[level.spectator]]();
wait .7;
}
}And under onPlayerSpawned Code: self thread noReturningFromDeath();
03-04-2011, 14:28
Awesome (:
Would be better if you didn't go to spec though, but yeah, that's a way.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment Website:Jensby.me Contact: [email protected]
03-05-2011, 04:40
(03-04-2011, 13:53)4FunPlayin Wrote: Put this anywhere: Thank you much needed ![]() ADD ME ON STEAM: AKNINJA612 |
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
|
|
Life's Good | RaZ | 6 | 7,010 |
09-09-2013, 22:23 Last Post: RaZ |
| Half Life 3 | Arteq | 15 | 12,261 |
09-29-2012, 14:15 Last Post: Arteq |
|
| Rage comics in real life | Xzite | 3 | 5,003 |
03-30-2012, 00:42 Last Post: kokole |
|
| MC Binary - My Life.txt | SuperNovaAO | 1 | 3,409 |
03-03-2012, 00:10 Last Post: Xzite |
|
| Half-Life 2 & Half-Life 2: Episode One Giveaway! "Giveaway Is Over" | The Clay Man | 4 | 4,586 |
12-26-2011, 13:03 Last Post: d0h! |
|
|
|
Life after death | nofamily | 49 | 32,462 |
09-26-2011, 19:44 Last Post: zija |
| Help WHAT AM I GOING TO DO WITH MY LIFE | 4FunPlayin | 14 | 10,902 |
06-30-2011, 05:31 Last Post: 4FunPlayin |
|
| hunter or not real life | number1 | 7 | 6,262 |
06-13-2011, 19:02 Last Post: AZUMIKKEL |
|
| Eternal Life Secrets Revealed by A Russian Scientists | 4FunPlayin | 12 | 9,210 |
04-13-2011, 16:17 Last Post: 4FunPlayin |
|
| Zombies in real life?! :o | Golle100 | 1 | 2,275 |
03-17-2011, 16:16 Last Post: d0h! |
|
| Users browsing this thread: |
| 2 Guest(s) |