entWatch4: Remove useless SMLib stuff, add template checking.

This commit is contained in:
zaCade
2019-04-08 12:19:03 +02:00
parent 546bf2a837
commit 73ecacb53c
6 changed files with 184 additions and 12 deletions
+13
View File
@@ -12,6 +12,7 @@ methodmap CItem < Basic
myclass.SetHandle("dConfig", value);
myclass.SetInt("iTempID", -1);
myclass.SetInt("iClient", INVALID_ENT_REFERENCE);
myclass.SetInt("iButton", INVALID_ENT_REFERENCE);
myclass.SetInt("iWeapon", INVALID_ENT_REFERENCE);
@@ -37,6 +38,18 @@ methodmap CItem < Basic
}
property int iTempID
{
public get()
{
return this.GetInt("iTempID");
}
public set(int value)
{
this.SetInt("iTempID", value);
}
}
property int iClient
{
public get()