19 lines
236 B
SourcePawn
19 lines
236 B
SourcePawn
#pragma semicolon 1
|
|
|
|
methodmap Entity
|
|
{
|
|
public Entity(const char[] className) {
|
|
return Entity:CreateEntityByName(className);
|
|
}
|
|
|
|
property bool IsValid {
|
|
public get() {
|
|
return IsValidEntity(_:this);
|
|
}
|
|
}
|
|
};
|
|
|
|
public main()
|
|
{
|
|
}
|