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