13 lines
203 B
Plaintext
13 lines
203 B
Plaintext
|
void main()
|
||
|
{
|
||
|
AssignCommand(OBJECT_SELF, PlaySound("as_cv_winch1"));
|
||
|
if (GetLocalInt(GetModule(),"KValves")==0)
|
||
|
{
|
||
|
SetLocalInt(GetModule(),"KValves",1);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
SetLocalInt(GetModule(),"KValves",5);
|
||
|
}
|
||
|
}
|