updates for entwatch to work
This commit is contained in:
parent
e00352d8a0
commit
58b91973c1
@ -541,10 +541,11 @@ public Action OnWeaponPickup(int client, int weapon)
|
||||
Call_PushCell(index);
|
||||
Call_Finish();
|
||||
|
||||
return;
|
||||
return Plugin_Handled;
|
||||
}
|
||||
}
|
||||
}
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
@ -567,10 +568,11 @@ public Action OnWeaponDrop(int client, int weapon)
|
||||
Call_PushCell(index);
|
||||
Call_Finish();
|
||||
|
||||
return;
|
||||
return Plugin_Handled;
|
||||
}
|
||||
}
|
||||
}
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
#include <sdktools>
|
||||
#include <sourcemod>
|
||||
#include <clientprefs>
|
||||
#include <entWatch_core>
|
||||
@ -230,6 +231,7 @@ public Action OnDisplayHUD(Handle timer)
|
||||
EndMessage();
|
||||
}
|
||||
}
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
#include <sdktools>
|
||||
#include <sourcemod>
|
||||
#include <cstrike>
|
||||
#include <entWatch_core>
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
#include <sdktools>
|
||||
#include <sourcemod>
|
||||
#include <clientprefs>
|
||||
#include <entWatch_core>
|
||||
|
@ -109,12 +109,12 @@ methodmap Basic < StringMap
|
||||
this.SetValue(membername, value);
|
||||
}
|
||||
|
||||
public bool GetVector(const char[] membername, float[3] vector)
|
||||
public bool GetVector(const char[] membername, float vector[3])
|
||||
{
|
||||
return this.GetArray(membername, vector, sizeof(vector));
|
||||
}
|
||||
|
||||
public void SetVector(const char[] membername, const float[3] value)
|
||||
public void SetVector(const char[] membername, const float value[3])
|
||||
{
|
||||
this.SetArray(membername, value, sizeof(value));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user