• 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]
  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 8,473 07-06-2014, 05:32
Last Post: Rendflex
Rainbow Funny&Happy moments in It'sMods forum life. Nekochan 6 5,603 06-29-2014, 19:43
Last Post: Yamato
Video Life's Good RaZ 6 4,375 09-09-2013, 22:23
Last Post: RaZ
  Post Your Real Life picture SniperGirl 87 36,430 10-22-2012, 23:21
Last Post: Arteq
  Half Life 3 Arteq 15 7,750 09-29-2012, 14:15
Last Post: Arteq
  Rage comics in real life Xzite 3 3,312 03-30-2012, 00:42
Last Post: kokole
  MC Binary - My Life.txt SuperNovaAO 1 2,030 03-03-2012, 00:10
Last Post: Xzite
  Half-Life 2 & Half-Life 2: Episode One Giveaway! "Giveaway Is Over" The Clay Man 4 3,022 12-26-2011, 13:03
Last Post: d0h!
Bug Life after death nofamily 49 20,794 09-26-2011, 19:44
Last Post: zija
  Help WHAT AM I GOING TO DO WITH MY LIFE 4FunPlayin 14 6,992 06-30-2011, 05:31
Last Post: 4FunPlayin

Forum Jump:


Users browsing this thread: 1 Guest(s)