XPMaster commited on
Commit
965dabd
·
1 Parent(s): ee8cc67

Update .sp

Browse files
Files changed (1) hide show
  1. .sp +1 -1
.sp CHANGED
@@ -174,7 +174,7 @@ public Action Event_PlayerDeath(Event event, const char[] name, bool dontBroadca
174
  /*
175
  public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
176
  {
177
- if(IsFakeClient(client) || !IsValidClient(client)){
178
  return Plugin_Continue;
179
  }
180
  int iWeapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");
 
174
  /*
175
  public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
176
  {
177
+ if(IsFakeClient(client) || !IsClientValid(client)){
178
  return Plugin_Continue;
179
  }
180
  int iWeapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");