• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 life?
#1
what is the dvar to make so that the player only has one life?
[Image: mca.png]

ADD ME ON STEAM: AKNINJA612
  Reply
#2
here it is

PHP Code:
scr_player_numlives "1" 
  Reply
#3
(03-03-2011, 07:57)No One Wrote: here it is

PHP Code:
scr_player_numlives "1" 

see i tried that and it didnt work
[Image: mca.png]

ADD ME ON STEAM: AKNINJA612
  Reply
#4
try that but it has to be played in tdm
scr_tdm_numlives "1"
  Reply
#5
(03-03-2011, 08:08)No One Wrote: try that but it has to be played in tdm
scr_tdm_numlives "1"

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); 
[Image: mca.png]

ADD ME ON STEAM: AKNINJA612
  Reply
#6
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();
[Image: 1fxsnb.jpg]
[-] The following 2 users say Thank You to 4FunPlayin for this post:
  • AZUMIKKEL, blackout612
  Reply
#7
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: im[at]jensby.me
  Reply
#8
(03-04-2011, 13:53)4FunPlayin Wrote: 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();

Thank you much needed
[Image: mca.png]

ADD ME ON STEAM: AKNINJA612
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  1 life 2 short 3 years 4 what 4FunPlayin 13 3,264 07-06-2014, 05:32
Last Post: Rendflex
Rainbow Funny&Happy moments in It'sMods forum life. Nekochan 6 2,696 06-29-2014, 19:43
Last Post: Yamato
Video Life's Good RaZ 6 1,855 09-09-2013, 22:23
Last Post: RaZ
  Post Your Real Life picture SniperGirl 87 12,686 10-22-2012, 23:21
Last Post: Arteq
  Half Life 3 Arteq 15 3,261 09-29-2012, 14:15
Last Post: Arteq
  Rage comics in real life Xzite 3 1,538 03-30-2012, 00:42
Last Post: kokole
  MC Binary - My Life.txt SuperNovaAO 1 909 03-03-2012, 00:10
Last Post: Xzite
  Half-Life 2 & Half-Life 2: Episode One Giveaway! "Giveaway Is Over" The Clay Man 4 1,148 12-26-2011, 13:03
Last Post: d0h!
Bug Life after death nofamily 49 8,782 09-26-2011, 19:44
Last Post: zija
  Help WHAT AM I GOING TO DO WITH MY LIFE 4FunPlayin 14 2,646 06-30-2011, 05:31
Last Post: 4FunPlayin

Forum Jump:


Users browsing this thread: 1 Guest(s)