AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FM_AddToFullPack help (https://forums.alliedmods.net/showthread.php?t=83153)

whosyourdaddy 01-05-2009 02:14

FM_AddToFullPack help
 
ok well i am using this to make people invisble and it works perfectly but yesterday and today 2 people have been telling me that they dont see people invisible and i looked over my code and couldnt find anything wrong, is there a way you can set something in ur console that will disable this from working, this is what im using

Code:

public ForwardAddToFullPack(ES,e,Ent,Host,HostFlags,Player,pSet)
{
  if(!Player)
      return FMRES_IGNORED;
 
  if(iGlow[Ent])
  {
      set_es(ES, ES_RenderMode, kRenderNormal);
      set_es(ES, ES_RenderAmt, 25);
      set_es(ES, ES_RenderColor, g_GlowLevel[Ent]);
      set_es(ES, ES_RenderFx, kRenderFxGlowShell);
  }
  else if(p_data_b[Ent][PB_INVIS] && ITEM_Has(Host,ITEM_GOGGLES) == ITEM_NONE)
  {
      set_es(ES,ES_Solid,SOLID_NOT)
      set_es(ES,ES_RenderMode,kRenderTransAlpha)
      set_es(ES,ES_RenderAmt,Invis_ME(Ent))
  }
  return FMRES_IGNORED;
}

*UPDATED*
is there another way i can make some1 glow or become slightly invisible other than using set_es


All times are GMT -4. The time now is 09:19.

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