|
Toggle invisible admin
|
|
Post: #21
|
|||
|
|||
|
RE: Toggle invisible admin
I liek mudkipz
![]()
![]() ![]() +rep me if I've been helpful Thanks. |
|||
|
Post: #22
|
|||
|
|||
|
RE: Toggle invisible admin
Replace the function with this instead:
Code: rejt()Then, at the bottom of onPlayerConnect, add the last line after the others: Code: player thread onPlayerSpawned();Now you can still toggle invisibility even if you die. ![]() A casual conversation between barata and I about Nukem. |
|||
|
Post: #23
|
|||
|
|||
RE: Toggle invisible admin
(05-28-2012 07:01)master131 Wrote: Replace the function with this instead: Tried that now, but without [ self endon "death" ] it can be used only 1 time per map. |
|||
|
Post: #24
|
|||
|
|||
|
RE: Toggle invisible admin
Oh, you need to add a for/while loop, try with this instead:
Code: rejt()Make sure to keep the other line where it is.
![]() A casual conversation between barata and I about Nukem. |
|||
The following 1 user says Thank You to master131 for this post:TheRaZ (05-28-2012) |
|
Post: #25
|
|||
|
|||
RE: Toggle invisible admin
(05-28-2012 13:31)master131 Wrote: Oh, you need to add a for/while loop, try with this instead: You can leave this out of the loop ![]() Code: self notifyOnPlayerCommand( "toggle", "+mlook" );![]() |
|||
|
Post: #26
|
|||
|
|||
|
RE: Toggle invisible admin
master131:
I'm tried your updated code, it works now. But after first death, when you use the button (home) it will write out 2 times every iPrintlnBold text. After the second death, it will write out texts 3 times and so on... Yamato: Why can I leave [ self notifyOnPlayerCommand( "toggle", "+mlook" ); ] ? I think it is needed for activate it with a key Home. Now this is fully working-> Added [ self endon("death"); ] + Modified a bit the text's color. PHP Code: // InvisibilityAnd what you think about this code? It is restarting itself after an usage: tried I and worked. PHP Code: // InvisibilityWhich one is better and why? |
|||
|
Post: #27
|
|||
|
|||
|
RE: Toggle invisible admin
Yes, is necesary
I explained wrong, I wanted to say there (out of the loop):Code: self endon("disconnect");![]() |
|||
|
Post: #28
|
|||
|
|||
| RE: Toggle invisible admin | |||
|
Post: #29
|
|||
|
|||
RE: Toggle invisible admin
(05-28-2012 16:23)TheRaZ Wrote:(05-28-2012 15:11)Yamato Wrote: Yes, is necesary Yes I was saying that you can also put it out of it.
![]() |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Admin menu don't work | michiix | 5 | 556 |
07-16-2011 04:26 Last Post: Cgallagher |
|
| Admin Menu Question | GeKKoFL0X | 6 | 572 |
01-26-2011 16:40 Last Post: GeKKoFL0X |
|
User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder




![[Image: 4xu.png]](http://haax.in/u/dukip/4xu.png)





![[-]](images/twilight/collapse.gif)

![[Image: 30xhrep.png]](http://i48.tinypic.com/30xhrep.png)

![[Image: veovuq.png]](http://i44.tinypic.com/veovuq.png)
I explained wrong, I wanted to say there (out of the loop):