AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Invisible Player (https://forums.alliedmods.net/showthread.php?t=191500)

Kristaps08 07-30-2012 09:44

Invisible Player
 
2 Attachment(s)
Invisible Player


Description:

With this plugin you can make players invisible.


Cvars:

amx_invisible_amount - Sets the amount of invisibility that player will have. (default 20)


Admin Commands:

amx_invisible <target> [0|1] - 0=OFF 1=ON


Planning to add:

Nothing yet.


Known Bugs:

None yet.


Required Modules:

fakemeta


Credits:

Translations: [hu] = kiki33hun


Changelog:

Code:

- v1.0
* First release.

- v1.1
* First public release.
* Code cleanup.
* Command amx_invisible is changed to command amx_give_invisibility and command amx_remove_invisibility.
* Added hamsandwich module.
* Command amx_invisible is working again.

- v1.2
* Changed from (g_is_invisible[player]==false) to (!g_is_invisible[player])

- v1.3
* Changed engine module to fun module.
* Added command amx_check_invisibility to check if the player is invisible.
* Added cvar to control how much will be invisible.
* Changed from set_entity_visibility to set_user_rendering.
* Commands amx_give_invisibility and command amx_remove_invisibility is changed to command amx_invisible.
* Cleaned up some code.

- v1.4
* Code changes and cleanup.
* Added support for amx_show_activity.
* Changed from hamsandwich to fakemeta.

- v1.5
* Optimized code.

- v1.6
* Removed fun module.
* Optimized a little bit the code.
* Added description.

- v1.7
* Optimized code a tiny little bit.

- v1.8
* Addded a new translation.
* Changed a tiny little bit of code.


speed_script 07-30-2012 10:01

Re: Invisible Player
 
Good Job For a new member!

isotonic 07-30-2012 19:52

Re: Invisible Player
 
Instead of using
PHP Code:

if (g_is_invisible[player]==false) {
    
// <>
}
else if (
g_is_invisible[player]) {
    
// <>


you could just use
PHP Code:

if ( !g_is_invisible[player] ) {
    
// <>
}
else {
    
// <>



Kristaps08 07-31-2012 05:55

Re: Invisible Player
 
Thx, isotonic.

SPT1 08-04-2012 12:42

Re: Invisible Player
 
its a small plugin to be approved. add some more things

Sp@jk 08-04-2012 16:39

Re: Invisible Player
 
why not making only 1 command like amx_invisibility <target>

isotonic 08-04-2012 19:52

Re: Invisible Player
 
I think it is too dramatic plugin. Noone will play with completely invisible player.
Add him at least some visibility like
PHP Code:

set_user_renderingidkRenderFxGlowShell000kRenderTransAlpha20 


quilhos 08-04-2012 22:47

Re: Invisible Player
 
Add a cvar for control the amount of invisibility, it's more easy and useful xD

SPT1 08-20-2012 08:50

Re: Invisible Player
 
how to invisible someone full?

Napoleon_be 08-21-2012 08:56

Re: Invisible Player
 
set the last parameter of set_user_rendering to 0 for total invisibility


All times are GMT -4. The time now is 04:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.