entWatch4: Add 'sorting' to make it more similiar to old entWatch.

And reset client('owner') when weapon dies.
This commit is contained in:
zaCade
2019-04-11 14:01:57 +02:00
parent 862316339b
commit 96f4ed4b04
2 changed files with 43 additions and 0 deletions
+13
View File
@@ -16,6 +16,7 @@ methodmap CConfig < Basic
myclass.SetString("sFilter", "");
myclass.SetInt("iButtonID", 0);
myclass.SetInt("iConfigID", 0);
myclass.SetInt("iWeaponID", 0);
myclass.SetInt("iTriggerID", 0);
@@ -82,6 +83,18 @@ methodmap CConfig < Basic
}
}
property int iConfigID
{
public get()
{
return this.GetInt("iConfigID");
}
public set(int value)
{
this.SetInt("iConfigID", value);
}
}
property int iWeaponID
{
public get()