forked from UNLOZE/sm-plugins
entWatch4: Remove useless SMLib stuff, add template checking.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user