11 lines
168 B
Plaintext
11 lines
168 B
Plaintext
|
//Closes door if it is open
|
||
|
void main()
|
||
|
{
|
||
|
int iEvent = GetUserDefinedEventNumber();
|
||
|
if(iEvent == 9006)
|
||
|
{
|
||
|
DelayCommand(1.5,ActionCloseDoor(OBJECT_SELF));
|
||
|
|
||
|
}
|
||
|
}
|