Skip to content

Commit

Permalink
Removed the hidden weapon world model feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Franc1sco committed Dec 28, 2015
1 parent 62c8c19 commit 02d4758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified FPVMI/plugins/fpvm_interface.smx
Binary file not shown.
6 changes: 3 additions & 3 deletions FPVMI/scripting/fpvm_interface.sp
Expand Up @@ -2,7 +2,7 @@
#include <sdktools>
#include <sdkhooks>

#define DATA "1.0"
#define DATA "1.0.1"

Handle array_weapons[MAXPLAYERS+1];

Expand Down Expand Up @@ -72,8 +72,8 @@ public void OnClientWeaponSwitchPost(int client, int wpnid)

SetEntProp(wpnid, Prop_Send, "m_nModelIndex", 0);

int iWorldModel = GetEntPropEnt(wpnid, Prop_Send, "m_hWeaponWorldModel");
if(IsValidEdict(iWorldModel)) SetEntProp(iWorldModel, Prop_Send, "m_nModelIndex", 0);
/* int iWorldModel = GetEntPropEnt(wpnid, Prop_Send, "m_hWeaponWorldModel");
if(IsValidEdict(iWorldModel)) SetEntProp(iWorldModel, Prop_Send, "m_nModelIndex", 0); */

SetEntProp(g_PVMid[client], Prop_Send, "m_nModelIndex", model_index);
}
Expand Down

1 comment on commit 02d4758

@wi1dna
Copy link

@wi1dna wi1dna commented on 02d4758 Dec 28, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave a comment

Please sign in to comment.