|
Toggle invisible admin
|
|
Post: #1
|
|||
|
|||
|
Toggle invisible admin
I try to make a code for using a key to enable/disable the invisibility for a player with admin GUID check.
But it is not working and I can't make it work, tried it, but alltime failed. Can somebody check my code? (Used the PHP Code function to paste it there, because it is colorful.) PHP Code: // Invisibility
|
|||
|
Post: #2
|
|||
|
|||
|
RE: Toggle invisible admin
'It doesn't work' is not enough. Does anything happen? Are you calling the function? Have you tried with another trigger like +melee.
![]() |
|||
|
Post: #3
|
|||
|
|||
|
RE: Toggle invisible admin
Maybe do something like this:
C Code
PS: correct the GUID numbers and forget the for(; .Thanks Barata... I'm brazilian, we have some problems in our country but we carry on because we believe that one day everything will be different!
|
|||
|
Post: #4
|
|||
|
|||
|
RE: Toggle invisible admin
I have binded "+mlook" to Home key, and game is starting, it isn't write any eror, just when I press the Home key, nothing happens.
I want to use the "+mlook", because it isn't used as default. Thanks Barata, I will try the code, wait a bit.
|
|||
|
Post: #5
|
|||
|
|||
|
RE: Toggle invisible admin
You can't "create" new action keys.
|
|||
|
Post: #6
|
|||
|
|||
RE: Toggle invisible admin
(05-27-2012 15:56)Rendflex Wrote: You can't "create" new action keys. +mlook is already in the game :fp: ![]() |
|||
The following 1 user says Thank You to Pozzuh for this post:Yamato (05-27-2012) |
|
Post: #7
|
|||
|
|||
RE: Toggle invisible admin
(05-27-2012 15:56)Rendflex Wrote: You can't "create" new action keys. I don't want to "create" new action key, just wanted to assign to a function. I'm tried Barata's updated code without this as he wrote: Code: for(;<img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" />And I'm know "+mlook" is the mouse look command. |
|||
|
Post: #8
|
|||
|
|||
|
RE: Toggle invisible admin
Do the iprintlnbolds show up?
![]() |
|||
|
Post: #9
|
|||
|
|||
| RE: Toggle invisible admin | |||
|
Post: #10
|
|||
|
|||
RE: Toggle invisible admin
(05-27-2012 16:13)Pozzuh Wrote: Do the iprintlnbolds show up? No they are not show up. (05-27-2012 16:15)Rendflex Wrote:(05-27-2012 16:06)Pozzuh Wrote:(05-27-2012 15:56)Rendflex Wrote: You can't "create" new action keys. It is the Mouse look option (Options/Look/Toggle Mouse look) |
|||
|
« 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 | 573 |
01-26-2011 16:40 Last Post: GeKKoFL0X |
|
User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder







![[-]](images/twilight/collapse.gif)
![[Image: azuw.jpg]](http://imageshack.us/a/img29/2668/azuw.jpg)


.![[Image: MaEIQ.png]](http://i.imgur.com/MaEIQ.png)