Skip to content

Commit

Permalink
Added slightly aggressive comment to clear that no one should edit va…
Browse files Browse the repository at this point in the history
…lues here

(since that are constants that are used now for detecting on client-side)
  • Loading branch information
SmileyAG committed Dec 11, 2023
1 parent 4ee0271 commit 0b10d94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripting/hl_kreedz.sma
Original file line number Diff line number Diff line change
Expand Up @@ -7819,6 +7819,9 @@ public Fw_FmAddToFullPackPost(es, e, ent, host, hostflags, player, pSet)
{
if (!get_pcvar_num(pcvar_kz_show_triggers_disable))
{
// Don’t even dare to think about changing that values for render* variables under any circumstances here, everyone understand me clearly?
// These are now constants, if you need to change them - sure, you can do it on the client side, BUT IN NO CASE ON THE SERVER OR PLUGIN SIDE!

set_pev(ent, pev_effects, pev(ent, pev_effects) & ~EF_NODRAW);
set_es(es, ES_RenderAmt, 0); // We will set the renderamt value on the clientside at HUD_AddEntity function
set_es(es, ES_RenderMode, kRenderTransColor);
Expand Down

0 comments on commit 0b10d94

Please sign in to comment.