Say commands : /players /water, to toggle players and water visibility
/invis to open menu with those 2 options in it.
Note that you can allow players to use weapons with this plugin because you don't hear them shooting or walking unless you are dead.
I highly recommand it on kz servers.
Spoiler
PHP Code:
#define SEMICLIP_RENDERING_RADIUS 400.0
// #define CHATCOLOR // if you are runing plugin : http://forums.alliedmods.net/showthread.php?p=851160
new const CLASS_PLAYER[] = "player";
new const CLASS_FUNC_WATER[] = "func_water";
new const CLASS_FUNC_ILLUSIONARY[] = "func_illusionary";
new const CLASS_FUNC_CONVEYOR[] = "func_conveyor";
new const CLASS_ENV_SPRITE[] = "env_sprite";
new const PATH_MODEL_XSMOKE1[] = "sprites/xsmoke1.spr";
public ClCmd_Invis(id)
{
set_pdata_int(id, m_iMenu, 0);
menu_display(id, g_iInvisMenu);
}
public ClCmd_Players(id)
{
TogglePlayerSeeing(id);
#if defined CHATCOLOR
client_print_color(id, Red, "^4[Invis] ^1Players are now %sisible.", IsPlayerSeeing(id) ? "^4V" :"^3Inv");
#else
client_print(id, print_chat, "[Invis] Players are now %sisible.", IsPlayerSeeing(id) ? "V" :"Inv");
#endif
}
public ClCmd_Water(id)
{
TogglePlayerHideWater(id);
#if defined CHATCOLOR
client_print_color(id, Red, "^4[Invis] ^1Water is now %sisible.", IsPlayerHidingWater(id) ? "^3Inv" : "^4V");
#else
client_print(id, print_chat, "[Invis] Water is now %sisible.", IsPlayerHidingWater(id) ? "V" :"Inv");
#endif
}
Edit 20may2013 : v0.3.3 fixed bugged /invis menu because of bugged menu_addtext native.
21may2013 : v0.3.31 little fix if player spawned furing pfnClientCommand.
// maybe this could be moved to first UpdateClientData ??
// in any ways, SV_Physics gonna be executed with clipping players
public server_frame()
{
g_iLastPlayerIndex = 0;
g_bReadPackets = false;
g_bClientMessages = false;
// maybe this could be moved to first UpdateClientData ??
// in any ways, SV_Physics gonna be executed with clipping players
public server_frame()
{
g_iLastPlayerIndex = 0;
g_bReadPackets = false;
g_bClientMessages = false;
Which one ? doors not opening or prediction making player feel a little block before they pass through each other ?
I haven't worked enough on rendering part, so i guess it is about prediction, if it is about doors, i'm affraid there is nothing i can do.
Which one ? doors not opening or prediction making player feel a little block before they pass through each other ?
I haven't worked enough on rendering part, so i guess it is about prediction, if it is about doors, i'm affraid there is nothing i can do.
It's not about the doors, it's about that you can't really walk into each other, you feel this little block, and even if its a little block, you can't stand in each other, when you go through someone you're getting kicked away up or back or idk where, but yeah, this little block, I gave you a link to my thread! you should have got that.
Wow tnx Connor! I've edited your script since it's the only semiclip that works perfectly on my outdated 1.8.1 server with gazillion plugins don't wanna rebuild everything again using the latest udpates...teamates are now in normal color not a little transparent may be some old user might need it too...it was a lucky edit LOL!
Wow tnx Connor! I've edited your script since it's the only semiclip that works perfectly on my outdated 1.8.1 server with gazillion plugins don't wanna rebuild everything again using the latest udpates...teamates are now in normal color not a little transparent may be some old user might need it too...it was a lucky edit LOL!
hi
i install your plugin and work fine but ofter install this plugin knife sound is off in my server and if players use knife , knife sound not be heard
my server mod is biohazard .zombie hand sounds too not be heard and is off
how to fix this bug