void main() { object oLocks = GetObjectByTag("ty_bannerlocks"); if(GetLocalInt(oLocks, "banner6d") != 1) { PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE); SetLocalInt(oLocks, "banner6d", 1); } else { PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE); SetLocalInt(oLocks, "banner6d", 0); } }