16 lines
379 B
Plaintext
16 lines
379 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oLocks = GetObjectByTag("ty_bannerlocks");
|
||
|
|
||
|
if(GetLocalInt(oLocks, "banner7c") != 1)
|
||
|
{
|
||
|
PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||
|
SetLocalInt(oLocks, "banner7c", 1);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
|
||
|
SetLocalInt(oLocks, "banner7c", 0);
|
||
|
}
|
||
|
}
|