11 lines
193 B
Plaintext
11 lines
193 B
Plaintext
|
void main()
|
||
|
{
|
||
|
int nCount=GetLocalInt(OBJECT_SELF,"nCount");
|
||
|
nCount++;
|
||
|
if (nCount<3)
|
||
|
{
|
||
|
DestroyObject(OBJECT_SELF);
|
||
|
}
|
||
|
else { SetLocalInt(OBJECT_SELF,"nCount",nCount); }
|
||
|
}
|