Spaces:
Build error
Build error
Update .sp
Browse files
.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) || !
|
| 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");
|